From 8a9819b876bc47cc8ebca5d512a3c6902955a418 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 | 3 ++- .../{{cookiecutter.placeholder_repo_name}}/.gitignore | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2e9a2dba..b2a7a8d6 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,8 @@ pip-log.txt coverage.xml htmlcov/ - +# Virtual environment +/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