Skip to content

Commit

Permalink
modify flake8 rules
Browse files Browse the repository at this point in the history
  • Loading branch information
filiparag committed Dec 2, 2021
1 parent 85737ba commit 4cdaac5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions mep3_simulation/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
ignore = I100
4 changes: 3 additions & 1 deletion mep3_simulation/test/test_flake8.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
@pytest.mark.flake8
@pytest.mark.linter
def test_flake8():
rc, errors = main_with_errors(argv=[])
rc, errors = main_with_errors(argv=[
'--linelength', '100'
])
assert rc == 0, \
'Found %d code style errors / warnings:\n' % len(errors) + \
'\n'.join(errors)

0 comments on commit 4cdaac5

Please sign in to comment.