project: ignore .venv directory
Additionally exclude the python .venv directory for flake8 if it exists. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
155b242f2c
commit
4c4dc04755
|
@ -11,3 +11,4 @@ shippable/
|
|||
# htmlcov is generated by tox due to coverage gathering in pytest
|
||||
htmlcov/
|
||||
.dir-locals.el
|
||||
.venv/
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue