Skip to content

Commit c109e10

Browse files
authored
Build: Add .venv/ to .gitignore (#3626)
<!-- Thanks for opening a pull request! --> <!-- Closes #${GITHUB_ISSUE_ID} --> # Rationale for this change `.venv/` is the default directory name created by `python -m venv .venv` and is the convention recommended by the Python docs and modern tooling like `uv`. Currently `.gitignore` only ignores `venv/` but not `.venv/`, so contributors using the dotted convention could accidentally stage their virtualenv. ## Are these changes tested? N/A — this is a `.gitignore`-only change. ## Are there any user-facing changes? No.
1 parent 1a87aa3 commit c109e10

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ __pycache__/
2323
.tox/
2424
env/
2525
venv/
26+
.venv/
2627
*.egg-info/
2728
test-reports
2829
build/

0 commit comments

Comments
 (0)