From b9d09c1f5ebceb1810206228e52a6a429cbb463a Mon Sep 17 00:00:00 2001 From: Travis Runner Date: Tue, 5 Dec 2023 00:15:18 -0500 Subject: [PATCH] Group .gitignore entries by purpose - 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 --- .gitignore | 48 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 191e0e6c3..7765293d8 100644 --- a/.gitignore +++ b/.gitignore @@ -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