Skip to content

Commit

Permalink
Add flake8 config
Browse files Browse the repository at this point in the history
  • Loading branch information
garyservin committed Feb 18, 2025
1 parent 6116f4d commit 2d7ab41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ament_virtualenv/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
ignore = Q000,E203,D100
2 changes: 1 addition & 1 deletion ament_virtualenv/test/test_flake8.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
@pytest.mark.flake8
@pytest.mark.linter
def test_flake8():
rc = main(argv=[])
rc = main(argv=["--config", ".flake8"])
assert rc == 0, 'Found errors'

0 comments on commit 2d7ab41

Please sign in to comment.