Skip to content

Commit

Permalink
Exclude .venv from linting, in case it's under the source root
Browse files Browse the repository at this point in the history
  • Loading branch information
bakert committed Sep 27, 2024
1 parent 43b10ca commit b1d5d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def do_lint() -> None:
print('>>>> Running flake8')
pipenv = local['pipenv']
try:
pipenv['run', 'python', '-m', 'flake8', '--exclude=node_modules'] & FG
pipenv['run', 'python', '-m', 'flake8', '--exclude=node_modules,.venv'] & FG
except ProcessExecutionError as e:
sys.exit(e.retcode)

Expand Down

0 comments on commit b1d5d09

Please sign in to comment.