Commit c76c399
Add .gitignore for Python build artifacts, venvs, and local state
The repository previously had no .gitignore, which meant local
__pycache__/, virtualenvs, pytest cache, coverage reports, log
files, SQLite databases under tests/.tmp/ and operator-local
incidentrelay.conf with secrets all showed up in git status and
risked being accidentally committed or copied into Docker images
via COPY . .
The ignore list covers:
- Python bytecode and import cache
- venv/, .venv/, env/, .env
- pytest, coverage and tests/.tmp/ artifacts
- runtime logs and SQLite databases
- local config files (incidentrelay.conf, *.local.conf)
- common IDE/editor and OS files
- packaging build/ and dist/ output
No tracked files are matched by the new patterns, so nothing
disappears silently from git status.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent e38aacc commit c76c399
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments