mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Two tweaks for .gitignore
1. `/env/` and `/.env` can be represented in a single entry using `/.?env/` 2. Update `/venv/` entry to also ignore `/.venv/`. Some tools (for example poetry) will look for and use virtualenvs in the root of a project if they are named `.venv`.
This commit is contained in:
parent
20573c8941
commit
2b364c92e6
1 changed files with 2 additions and 3 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -23,8 +23,7 @@ Pipfile.lock
|
|||
# top of salt such as
|
||||
# - /some/path$ git clone https://github.com/thatch45/salt.git
|
||||
# - /some/path$ virtualenv --python=/usr/bin/python2.6 salt
|
||||
/env/
|
||||
/.env/
|
||||
/.?env/
|
||||
/bin/
|
||||
/etc/
|
||||
/include/
|
||||
|
@ -37,7 +36,7 @@ Pipfile.lock
|
|||
/tests/cachedir/
|
||||
/tests/unit/templates/roots/
|
||||
/var/
|
||||
/venv/
|
||||
/.?venv/
|
||||
|
||||
# setuptools stuff
|
||||
*.egg-info
|
||||
|
|
Loading…
Add table
Reference in a new issue