diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2017-06-03 16:21:48 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2017-06-03 16:21:48 +0300 |
commit | 12c268fa15bf9387f6e88356e1b928bd61efbdf2 (patch) | |
tree | 0a2b8bad35308bd311412cd484c2267aa70a87e7 /pylint/checkers/classes.py | |
parent | bebcc502a5fa81099c10192828e90e0998f34d04 (diff) | |
download | pylint-git-12c268fa15bf9387f6e88356e1b928bd61efbdf2.tar.gz |
Fix line-too-long
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r-- | pylint/checkers/classes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py index 48e276605..1c4746ea7 100644 --- a/pylint/checkers/classes.py +++ b/pylint/checkers/classes.py @@ -885,7 +885,8 @@ a metaclass class method.'} and _has_data_descriptor(klass, node.attrname)): # Descriptors circumvent the slots mechanism as well. return - if node.attrname == '__class__' and _has_same_layout_slots(slots, node.parent.value): + if (node.attrname == '__class__' + and _has_same_layout_slots(slots, node.parent.value)): return self.add_message('assigning-non-slot', args=(node.attrname, ), node=node) |