From 38bccc5d22e9ea8e1c8042f04e14bb8a4f1e344a Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 25 Oct 2023 15:35:05 -0400 Subject: [PATCH] build: ignore venv directories --- .gitignore | 6 +++++- .../{{cookiecutter.placeholder_repo_name}}/.gitignore | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2e9a2dba..c521c3de 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,11 @@ pip-log.txt coverage.xml htmlcov/ - +# Virtual environments +/venv/ +/venv-*/ +/.venv/ +/.venv-*/ # The Silver Searcher .agignore diff --git a/python-template/{{cookiecutter.placeholder_repo_name}}/.gitignore b/python-template/{{cookiecutter.placeholder_repo_name}}/.gitignore index 76b7a7c7..f3b9cc24 100644 --- a/python-template/{{cookiecutter.placeholder_repo_name}}/.gitignore +++ b/python-template/{{cookiecutter.placeholder_repo_name}}/.gitignore @@ -32,7 +32,11 @@ pip-log.txt coverage.xml htmlcov/ - +# Virtual environments +/venv/ +/venv-*/ +/.venv/ +/.venv-*/ # The Silver Searcher .agignore