diff options
author | Parth Laxmikant Kolekar <superstarpk@gmail.com> | 2016-11-22 07:55:04 +0530 |
---|---|---|
committer | Ian Lee <IanLee1521@gmail.com> | 2016-11-21 18:25:04 -0800 |
commit | fcc8f58f3d805e7529cfef1005285fdef1107917 (patch) | |
tree | c8acb3b1f55e70a32bdb8086cde969eafd7f464c | |
parent | 8053c7c1d5597b062c58c5991231b62e11b435e9 (diff) | |
download | pep8-fcc8f58f3d805e7529cfef1005285fdef1107917.tar.gz |
Prevent E305 on variable names `class*` and `def*`
Prevent lines like
classification_error = 0
From becoming treated as a class.
-rw-r--r-- | testsuite/E30not.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |