Skip to content

Commit

Permalink
project: ignore .venv directory
Browse files Browse the repository at this point in the history
Additionally exclude the python .venv directory for flake8 if it exists.

Signed-off-by: Pieter De Gendt <[email protected]>
  • Loading branch information
pdgendt authored and marc-hb committed Jul 22, 2024
1 parent 155b242 commit 4c4dc04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ shippable/
# htmlcov is generated by tox due to coverage gathering in pytest
htmlcov/
.dir-locals.el
.venv/
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ envlist=py3
# - E305: expected 2 blank lines after class or function definition, found 1
# - W504: line break after binary operator
ignore = E126,E261,E302,E305,W504
# Don't lint setup.py, the .tox virtualenv directory, or the build directory
exclude = setup.py,.tox,build
# Don't lint setup.py, the .tox or python virtualenv directory, or the build directory
exclude = setup.py,.tox,.venv,build
max-line-length = 100

[mypy]
Expand Down

0 comments on commit 4c4dc04

Please sign in to comment.