# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual environments
.venv/
venv/
ENV/
env/


# IDE
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/
.hypothesis/

# Type checking
.mypy_cache/
.dmypy.json
dmypy.json

# Database
*.db
*.sqlite
*.sqlite3

# Logs
*.log

# Qt compiled resources
*.pyc
*_rc.py

# Hardware test captures (don't commit test images/captures)
test_captures/
*.jpg
*.png
!docs/images/*.png
!docs/_static/*.png

# Alembic
alembic/versions/*.pyc

# Build artifacts
*.whl

# numistalib specific
.env
.cache/
*.hishel

.serena/
.ruff_cache/

# Documentation builds (generated files only)
docs/_build/
*.doctree
# Keep static assets like screenshots
!docs/_static/*.png
!docs/_static/*.jpg
!docs/_static/*.svg