Fixed lint errors

implicit_namespaces
Ashley Whetter 6 years ago committed by Ashley Whetter
parent 4ac85dd7af
commit 6ffec93569

@ -456,7 +456,7 @@ class Parser(object):
def parse_functiondef(self, node):
if astroid_utils.is_decorated_with_property(node):
return self._parse_property(node)
elif astroid_utils.is_decorated_with_property_setter(node):
if astroid_utils.is_decorated_with_property_setter(node):
return []
type_ = 'function' if node.type == 'function' else 'method'

@ -15,6 +15,8 @@ pylint:
max-line-length: 100
disable:
- interface-not-implemented
# We still support Python 2 so we have to inherit from object
- useless-object-inheritance
mccabe:
run: false

Loading…
Cancel
Save