Skip to content

Commit

Permalink
[test] specfy pya as the only input_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wiccy46 authored and aleneum committed Mar 10, 2021
1 parent ed27b86 commit 3b6a2f8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_codestyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ def test_conformance(self):
# W292 no newline at end of file
# E722 bare except
style = pycodestyle.StyleGuide(quiet=False,
ignore=['E501', 'E731', 'W291', 'W391', 'W292', 'E722', 'E402'])
ignore=['E501', 'E731', 'W291', 'W504',
'W391', 'W292', 'E722', 'E402'])
# style.input_dir('../../pya')
style.input_dir('./')
style.input_dir('./pya')
# style.input_dir('tests')
result = style.check_files()
self.assertEqual(0, result.total_errors,
"Found code style errors (and warnings).")
"Found code style errors (and warnings).")

0 comments on commit 3b6a2f8

Please sign in to comment.