Files
praxis/.gitignore
T
kiskaadee 1f2ec506c4 chore(git): add comprehensive .gitignore for Python environment and toolchain
- Ignore virtual environments (.venv/, venv/) and Python cache files.
- Exclude build artifacts, test/coverage reports, and type checker/linter caches.
- Block local environment files (.env, secrets/) and local SQLite database files.
- Preserve .envrc for direnv virtual environment activation while ignoring secret overrides.
2026-09-24 16:01:34 -05:00

104 lines
2.7 KiB
Plaintext

# =============================================================================
# Praxis — .gitignore
# =============================================================================
# -----------------------------------------------------------------------------
# Python virtual environments
# -----------------------------------------------------------------------------
.venv/
venv/
env/
ENV/
# -----------------------------------------------------------------------------
# Python cache & bytecode
# -----------------------------------------------------------------------------
__pycache__/
*.py[cod]
*$py.class
*.pyo
# -----------------------------------------------------------------------------
# Build & distribution artifacts
# -----------------------------------------------------------------------------
dist/
build/
*.egg-info/
*.egg
MANIFEST
.eggs/
# uv build cache
.uv/
# -----------------------------------------------------------------------------
# Testing & coverage
# -----------------------------------------------------------------------------
.pytest_cache/
.coverage
.coverage.*
coverage.xml
htmlcov/
*.lcov
# -----------------------------------------------------------------------------
# Type checkers
# -----------------------------------------------------------------------------
.mypy_cache/
.pyright/
.dmypy.json
dmypy.json
# -----------------------------------------------------------------------------
# Linters & formatters
# -----------------------------------------------------------------------------
.ruff_cache/
# -----------------------------------------------------------------------------
# IDE & editor files
# -----------------------------------------------------------------------------
.idea/
.vscode/
*.swp
*.swo
*~
.DS_Store
Thumbs.db
# -----------------------------------------------------------------------------
# Secrets & environment overrides
# (keep .envrc — it only activates the venv, no credentials)
# -----------------------------------------------------------------------------
.env
.env.*
!.env.example
*.pem
*.key
*.crt
*.p12
*.pfx
secrets/
secrets.yaml
secrets.yml
secrets.toml
# -----------------------------------------------------------------------------
# Database files (local dev / SQLite)
# -----------------------------------------------------------------------------
*.db
*.sqlite
*.sqlite3
# -----------------------------------------------------------------------------
# Logs
# -----------------------------------------------------------------------------
*.log
logs/
# -----------------------------------------------------------------------------
# OS / temp files
# -----------------------------------------------------------------------------
*.tmp
*.bak
*.orig