Features: 1) Expand .gitignore to include comprehensive rules for Python, Node, Docker, IDEs, test artifacts, and distribution files;

Fixes: None;

Extra: 1) Add comments and structure to `.gitignore` for improved readability and maintainability; 2) Update placeholder comments in `docker-compose.yml` for future services.
This commit is contained in:
Egor Pavlovich Gorbunov 2025-05-26 15:54:43 +03:00
parent 83b86a81f4
commit f16c03d2a6
2 changed files with 63 additions and 14 deletions

View file

@ -1,29 +1,77 @@
# ──────────────────────────────────────────────────────────────────────────
# Logs and reports
# ──────────────────────────────────────────────────────────────────────────
.logs/
*.log
*.sqlite3
*.pyo
debug.log
errors.log
test.json
coverage.xml
coverage.*
*.cover
*.py,cover
nosetests.xml
# Cache directories
__pycache__/
.pytest_cache/
.hypothesis/
.pyre/
.pytype/
.mypy_cache/
.dmypy.json
dmypy.json
cython_debug/
# Python environments
.Python
env/
venv/
ENV/
env.bak/
venv/
venv.bak/
ENV.bak/
*.egg-info/
ENV/
.venv/
__pypackages__/
# ──────────────────────────────────────────────────────────────────────────
# Packaging and distribution
# ──────────────────────────────────────────────────────────────────────────
build/
dist/
dist-ssr/
*.egg
*.eggs
*.db
*.egg-info/
.installed.cfg
MANIFEST
*.manifest
*.spec
sdist/
wheels/
share/python-wheels/
pip-log.txt
pip-delete-this-directory.txt
# Git
.git/
htmlcov/
.coverage
.tox/
# macOS
.DS_Store
# JetBrains
.idea/
# VisualStudio
.vscode/
# ──────────────────────────────────────────────────────────────────────────
# Docker & service data
# ──────────────────────────────────────────────────────────────────────────
Dockerfile
docker-compose.yml
secrets/
.env
db_backups/
services_data/
static/
media/
# Environment file
.env

1
.gitignore vendored
View file

@ -21,6 +21,7 @@ cython_debug/
.Python
env/
env.bak/
ENV.bak/
venv/
venv.bak/
ENV/