diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-06-21 08:52:56 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-06-21 11:15:08 +0200 |
commit | 352aa0fcc88db8721a97d5f1279c25d1ef095b8f (patch) | |
tree | 310556f1a28077771f407baea304cbb8f02d8aee | |
parent | ea4f19d3251f806f92961bb15ad0fc44c2399977 (diff) | |
download | astroid-git-352aa0fcc88db8721a97d5f1279c25d1ef095b8f.tar.gz |
Small fixes following pep8 changes
Re-add 'ex' in good name
Fix a typo rrue = true
-rw-r--r-- | pylintrc | 2 | ||||
-rw-r--r-- | tests/unittest_nodes.py | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -123,7 +123,7 @@ enable=useless-suppression bad-functions= # Good variable names which should always be accepted, separated by a comma -good-names=i,j,k,e,f,m,cm,Run,_,n,op,it +good-names=i,j,k,e,ex,f,m,cm,Run,_,n,op,it # Bad variable names which should always be refused, separated by a comma bad-names=foo,bar,baz,toto,tutu,tata diff --git a/tests/unittest_nodes.py b/tests/unittest_nodes.py index 9eb2937d..9cd844aa 100644 --- a/tests/unittest_nodes.py +++ b/tests/unittest_nodes.py @@ -570,8 +570,8 @@ class ConstNodeTest(unittest.TestCase): class NameNodeTest(unittest.TestCase): - def test_assign_to_rrue(self): - """test that True and False assignments don't crash""" + def test_assign_to_true(self): + """Test that True and False assignments don't crash""" code = """ True = False def hello(False): |