Skip to content

Commit

Permalink
Group .gitignore entries by purpose
Browse files Browse the repository at this point in the history
- Divide .gitignore entries into groups
- Label the groups with comments
- Add `__pycache__/` even though it should only contain *.pyc and *.pyo
- Add `monkeytype.sqlite3.*` for compressed copies of that database
- Remove `/*.egg-info` because `/*egg-info` covers it
  • Loading branch information
EliahKagan committed Dec 5, 2023
1 parent fe082ad commit b9d09c1
Showing 1 changed file with 35 additions and 13 deletions.
48 changes: 35 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,49 @@
# Cached Python bytecode
__pycache__/
*.py[co]

# Other caches
.cache/
.mypy_cache/
.pytest_cache/

# Transient editor files
*.swp
*~

# Editor configuration
nbproject
*.sublime-workspace
/.vscode/
.idea/

# Virtual environments
.env/
env/
.venv/
venv/
/*.egg-info

# Build output
/*egg-info
/lib/GitPython.egg-info
cover/
.coverage
.coverage.*
/build
/dist
/doc/_build
nbproject
*.sublime-workspace
.DS_Store
/*egg-info

# Tox builds/environments
/.tox
/.vscode/
.idea/
.cache/
.mypy_cache/
.pytest_cache/

# Code coverage output
cover/
.coverage
.coverage.*

# Monkeytype output
monkeytype.sqlite3
monkeytype.sqlite3.*

# Manual command output
output.txt

# Finder metadata
.DS_Store

0 comments on commit b9d09c1

Please sign in to comment.