Skip to content

Commit

Permalink
Exclude build directory in flake8 configuration (#1635)
Browse files Browse the repository at this point in the history
A combination of recent versions of setuptools and pip results in pip install -e . creating a local build directory. This PR prevents flake8 from attempting to check files in that directory.
  • Loading branch information
mdickinson committed Apr 20, 2022
1 parent 25b05c8 commit 1ded83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[flake8]
exclude = traits/observation/_generated_parser.py
exclude = traits/observation/_generated_parser.py,build
ignore = E266,W503,E722,E731,E741
per-file-ignores = */api.py:F401

0 comments on commit 1ded83c

Please sign in to comment.