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:
parent
83b86a81f4
commit
f16c03d2a6
2 changed files with 63 additions and 14 deletions
|
|
@ -1,29 +1,77 @@
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────
|
||||||
|
# Logs and reports
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────
|
||||||
|
.logs/
|
||||||
*.log
|
*.log
|
||||||
*.sqlite3
|
debug.log
|
||||||
*.pyo
|
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
|
.Python
|
||||||
env/
|
env/
|
||||||
venv/
|
|
||||||
ENV/
|
|
||||||
env.bak/
|
env.bak/
|
||||||
|
venv/
|
||||||
venv.bak/
|
venv.bak/
|
||||||
ENV.bak/
|
ENV/
|
||||||
*.egg-info/
|
.venv/
|
||||||
|
__pypackages__/
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────
|
||||||
|
# Packaging and distribution
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
dist-ssr/
|
||||||
*.egg
|
*.egg
|
||||||
*.eggs
|
*.egg-info/
|
||||||
*.db
|
.installed.cfg
|
||||||
|
MANIFEST
|
||||||
|
*.manifest
|
||||||
|
*.spec
|
||||||
|
sdist/
|
||||||
|
wheels/
|
||||||
|
share/python-wheels/
|
||||||
|
pip-log.txt
|
||||||
|
pip-delete-this-directory.txt
|
||||||
|
|
||||||
|
# Git
|
||||||
.git/
|
.git/
|
||||||
htmlcov/
|
|
||||||
.coverage
|
# macOS
|
||||||
.tox/
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# JetBrains
|
||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
|
# VisualStudio
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────
|
||||||
|
# Docker & service data
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────
|
||||||
Dockerfile
|
Dockerfile
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
secrets/
|
|
||||||
.env
|
|
||||||
db_backups/
|
db_backups/
|
||||||
services_data/
|
services_data/
|
||||||
static/
|
static/
|
||||||
media/
|
media/
|
||||||
|
|
||||||
|
# Environment file
|
||||||
|
.env
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -21,6 +21,7 @@ cython_debug/
|
||||||
.Python
|
.Python
|
||||||
env/
|
env/
|
||||||
env.bak/
|
env.bak/
|
||||||
|
ENV.bak/
|
||||||
venv/
|
venv/
|
||||||
venv.bak/
|
venv.bak/
|
||||||
ENV/
|
ENV/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue