Skip to content

Commit

Permalink
Prevent E305 on variable names class* and def*
Browse files Browse the repository at this point in the history
Prevent lines like 

    classification_error = 0 

From becoming treated as a class.
  • Loading branch information
ParthKolekar authored and IanLee1521 committed Nov 22, 2016
1 parent 8053c7c commit fcc8f58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testsuite/E30not.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,7 @@ class Bar(object):

if __name__ == '__main__':
foo()
#: Okay
classification_errors = None
#: Okay
defined_properly = True

0 comments on commit fcc8f58

Please sign in to comment.