From 352aa0fcc88db8721a97d5f1279c25d1ef095b8f Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 21 Jun 2021 08:52:56 +0200 Subject: Small fixes following pep8 changes Re-add 'ex' in good name Fix a typo rrue = true --- pylintrc | 2 +- tests/unittest_nodes.py | 4 ++-- 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): -- cgit v1.2.1