Skip to content

Commit

Permalink
tox: flake8 - exclude directories starting with .
Browse files Browse the repository at this point in the history
I use a .venv directory within the repo and flake8 ends up checking the
python modules within that directory. Exclude all directories which
begin with '.'.

Signed-off-by: Sachin Prabhu <[email protected]>
  • Loading branch information
spuiuk committed Jan 16, 2024
1 parent 0eb1453 commit 1eb5721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ commands = pytest -vrfEsxXpP testcases/consistency
[testenv:flake8]
deps = flake8
changedir = {toxinidir}
commands = flake8 .
commands = flake8 --exclude=.* .

[testenv:black]
deps = black>=23.3.0
Expand Down

0 comments on commit 1eb5721

Please sign in to comment.