diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-04-20 16:59:34 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-04-20 21:58:08 +0200 |
commit | 3423ea2eafa274ef7c300b9ffce6d96b84b72b2e (patch) | |
tree | 08b74372561ad3ce9404c7883d30c11f4778f25f | |
parent | 9a598cfaa829e3fea7c28b238fdaed7b69acf057 (diff) | |
download | pylint-git-3423ea2eafa274ef7c300b9ffce6d96b84b72b2e.tar.gz |
[tests lint] Fix all C0121 singleton-comparison in pylint's own tests
-rw-r--r-- | tests/.test_pylintrc | 1 | ||||
-rw-r--r-- | tests/unittest_pyreverse_diadefs.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/.test_pylintrc b/tests/.test_pylintrc index 6cc618444..e1a3bfefa 100644 --- a/tests/.test_pylintrc +++ b/tests/.test_pylintrc @@ -23,5 +23,4 @@ disable= unused-argument, undefined-loop-variable, too-many-ancestors, - singleton-comparison, fixme, diff --git a/tests/unittest_pyreverse_diadefs.py b/tests/unittest_pyreverse_diadefs.py index e9edfb536..b7d7606dc 100644 --- a/tests/unittest_pyreverse_diadefs.py +++ b/tests/unittest_pyreverse_diadefs.py @@ -61,7 +61,7 @@ def test_option_values(HANDLER, PROJECT): cl_config.classes = ["Specialization"] cl_h = DiaDefGenerator(Linker(PROJECT), DiadefsHandler(cl_config)) assert df_h._get_levels() == (0, 0) - assert df_h.module_names == False + assert not df_h.module_names assert cl_h._get_levels() == (-1, -1) assert cl_h.module_names for hndl in [df_h, cl_h]: |