Yann Leboulanger pushed to branch master at gajim / gajim
Commits:
b4362a8a by Yann Leboulanger at 2017-08-27T21:37:19+02:00
ignore some pylint errors
- - - - -
1 changed file:
- gajim/common/dataforms.py
Changes:
=====================================
gajim/common/dataforms.py
=====================================
--- a/gajim/common/dataforms.py
+++ b/gajim/common/dataforms.py
@@ -132,7 +132,7 @@ class DataField(ExtendedNode):
self.options = options
@nested_property
- def type_():
+ def type_(): # pylint: disable=E0202
"""
Type of field. Recognized values are: 'boolean', 'fixed', 'hidden',
'jid-multi', 'jid-single', 'list-multi', 'list-single', 'text-multi',
@@ -152,7 +152,7 @@ class DataField(ExtendedNode):
return locals()
@nested_property
- def var():
+ def var(): # pylint: disable=E0202
"""
Field identifier
"""
@@ -169,7 +169,7 @@ class DataField(ExtendedNode):
return locals()
@nested_property
- def label():
+ def label(): # pylint: disable=E0202
"""
Human-readable field name
"""
@@ -212,7 +212,7 @@ class DataField(ExtendedNode):
return locals()
@nested_property
- def required():
+ def required(): # pylint: disable=E0202
"""
Controls whether this field required to fill. Boolean
"""
@@ -313,7 +313,7 @@ class Media(nbxmpp.Node):
class BooleanField(DataField):
@nested_property
- def value():
+ def value(): # pylint: disable=E0202
"""
Value of field. May contain True, False or None
"""
@@ -343,7 +343,7 @@ class StringField(DataField):
"""
@nested_property
- def value():
+ def value(): # pylint: disable=E0202
"""
Value of field. May be any string
"""
@@ -370,7 +370,7 @@ class ListField(DataField):
"""
@nested_property
- def options():
+ def options(): # pylint: disable=E0202
"""
Options
"""
@@ -489,7 +489,7 @@ class JidMultiField(ListMultiField):
class TextMultiField(DataField):
@nested_property
- def value():
+ def value(): # pylint: disable=E0202
"""
Value held in field
"""
@@ -540,7 +540,7 @@ class DataRecord(ExtendedNode):
self.fields = fields
@nested_property
- def fields():
+ def fields(): # pylint: disable=E0202
"""
List of fields in this record
"""
@@ -598,7 +598,7 @@ class DataForm(ExtendedNode):
self.instructions=instructions
@nested_property
- def type_():
+ def type_(): # pylint: disable=E0202
"""
Type of the form. Must be one of: 'form', 'submit', 'cancel', 'result'.
'form' - this form is to be filled in; you will be able soon to do:
@@ -614,7 +614,7 @@ class DataForm(ExtendedNode):
return locals()
@nested_property
- def title():
+ def title(): # pylint: disable=E0202
"""
Title of the form
@@ -635,7 +635,7 @@ class DataForm(ExtendedNode):
return locals()
@nested_property
- def instructions():
+ def instructions(): # pylint: disable=E0202
"""
Instructions for this form
@@ -712,7 +712,7 @@ class MultipleDataForm(DataForm):
self.reported = DataRecord(extend=reported_tag)
@nested_property
- def items():
+ def items(): # pylint: disable=E0202
"""
A list of all records
"""
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/b4362a8a97ca44374535995c1b343ef013b59d47
---
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/b4362a8a97ca44374535995c1b343ef013b59d47
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits