Add the Python .gitignore for the Day 21 repository

Identical to the base. It ignores .venv, caches, build output and .env, so the personal tokens can never be committed.

Task: MIL-001#2
Closes #2
This commit is contained in:
2026-10-08 17:46:39 +08:00
parent e3cc7157c8
commit d3402d71fa
+34
View File
@@ -0,0 +1,34 @@
# Personal tokens: never commit or import this file
.env
# Virtual environment
.venv
venv
# Byte-compiled and cached files
__pycache__
*.py[cod]
*$py.class
# Packaging and build output (build/ also holds the Doxygen HTML)
build/
dist/
*.egg-info/
*.egg
.eggs/
pip-wheel-metadata/
# Test, lint and type-check caches
.pytest_cache/
.ruff_cache/
.mypy_cache/
.coverage
.coverage.*
htmlcov/
# Editors and operating systems
.idea/
.vscode/
*.swp
.DS_Store
Thumbs.db