Skip to content

Commit

Permalink
Extend .venv paths to ignore
Browse files Browse the repository at this point in the history
Useful when creating virtual environments for several Python versions
(e.g. `.venv38`, `.venv312`), which otherwise are linted by tools like
black, isort and flake8.
  • Loading branch information
nsoranzo committed Jan 22, 2024
1 parent ddd8a57 commit e32c523
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .ci/flake8_ignorelist.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.git
.tox
.venv
.venv3
.venv*
packages/*/.venv
packages/*/build
packages/*/dist
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ scripts/scramble/lib
scripts/scramble/archives

# Python virtualenv
.venv
.venv3
.venv*/

# Python build artifacts
build
Expand Down

0 comments on commit e32c523

Please sign in to comment.