summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-21 08:52:56 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-21 11:15:08 +0200
commit352aa0fcc88db8721a97d5f1279c25d1ef095b8f (patch)
tree310556f1a28077771f407baea304cbb8f02d8aee
parentea4f19d3251f806f92961bb15ad0fc44c2399977 (diff)
downloadastroid-git-352aa0fcc88db8721a97d5f1279c25d1ef095b8f.tar.gz
Small fixes following pep8 changes
Re-add 'ex' in good name Fix a typo rrue = true
-rw-r--r--pylintrc2
-rw-r--r--tests/unittest_nodes.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/pylintrc b/pylintrc
index 2361e82f..31ec65dd 100644
--- a/pylintrc
+++ b/pylintrc
@@ -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):