From fcc8f58f3d805e7529cfef1005285fdef1107917 Mon Sep 17 00:00:00 2001 From: Parth Laxmikant Kolekar Date: Tue, 22 Nov 2016 07:55:04 +0530 Subject: Prevent E305 on variable names `class*` and `def*` Prevent lines like classification_error = 0 From becoming treated as a class. --- testsuite/E30not.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testsuite/E30not.py b/testsuite/E30not.py index ea75057..63ff733 100644 --- a/testsuite/E30not.py +++ b/testsuite/E30not.py @@ -151,3 +151,7 @@ class Bar(object): if __name__ == '__main__': foo() +#: Okay +classification_errors = None +#: Okay +defined_properly = True -- cgit v1.2.1