Skip to content

Commit

Permalink
Update test_code_style.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Dec 30, 2018
1 parent 5c12938 commit 3473a71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _unittests/ut_module/test_code_style.py
Expand Up @@ -34,15 +34,16 @@ def test_style_src(self):
src_ = os.path.normpath(os.path.join(thi, "..", "..", "src")) src_ = os.path.normpath(os.path.join(thi, "..", "..", "src"))
check_pep8(src_, fLOG=fLOG, check_pep8(src_, fLOG=fLOG,
pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613', pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613',
'W0201', 'W0221', 'E0632', 'R1702', 'W0212', 'W0223'), 'W0201', 'W0221', 'E0632', 'R1702', 'W0212', 'W0223',
'W0107'),
skip=["categories_to_integers.py:174: W0640"]) skip=["categories_to_integers.py:174: W0640"])


def test_style_test(self): def test_style_test(self):
thi = os.path.abspath(os.path.dirname(__file__)) thi = os.path.abspath(os.path.dirname(__file__))
test = os.path.normpath(os.path.join(thi, "..", )) test = os.path.normpath(os.path.join(thi, "..", ))
check_pep8(test, fLOG=fLOG, neg_pattern="temp_.*", check_pep8(test, fLOG=fLOG, neg_pattern="temp_.*",
pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613', pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613',
'C0111'), 'C0111', 'W0107'),
skip=["src' imported but unused", skip=["src' imported but unused",
"skip_' imported but unused", "skip_' imported but unused",
"skip__' imported but unused", "skip__' imported but unused",
Expand Down

0 comments on commit 3473a71

Please sign in to comment.