Skip to content

Commit fcc8f58

Browse files
ParthKolekarIanLee1521
authored andcommitted
Prevent E305 on variable names class* and def*
Prevent lines like classification_error = 0 From becoming treated as a class.
1 parent 8053c7c commit fcc8f58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testsuite/E30not.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,7 @@ class Bar(object):
151151

152152
if __name__ == '__main__':
153153
foo()
154+
#: Okay
155+
classification_errors = None
156+
#: Okay
157+
defined_properly = True

0 commit comments

Comments
 (0)