# ====================================================================
# 1. Build artifacts, generated and temporary files (always ignore)
# --------------------------------------------------------------------
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Compiled C / extension modules
*.so
*.pyd
*.dll
*.dylib

# Distribution / packaging directories
build/
dist/
*.egg-info/
*.egg
pip-wheel-metadata/
share/python-wheels/

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# ====================================================================
# 2. Virtual environments & dependency folders
# --------------------------------------------------------------------
.venv/
venv/
env/
ENV/
.env/
.nox/
.hatch/
.pdm-build/
pyre/

# ====================================================================
# 3. Tooling / test / CI / cache artifacts
# --------------------------------------------------------------------
htmlcov/
.tox/
.noseids/
.coverage
.coverage.*
.cache/
.pytest_cache/
.mypy_cache/
.ruff_cache/
.pyre/

# ====================================================================
# 4. IDE / editor / OS-specific files
# --------------------------------------------------------------------
# IDEs
.vscode/
.idea/
*.sublime-*
.spyderproject
.spyproject
.ropeproject

# OS files
.DS_Store
Thumbs.db
ehthumbs.db

# ====================================================================
# 5. Documentation & notebooks
# --------------------------------------------------------------------
docs/_build/
docs/build_errors.log
docs/source/autoapi/
docs/source/examples/*.dot
/ipynb_checkpoints/

# ====================================================================
# 6. Data, logs, secret files
# --------------------------------------------------------------------
*.log
logs/
*.sqlite
*.sqlite3
*.db
.env.local
secrets.json

# ====================================================================
# 7. Explicit inclusions — if you must track specific files
# --------------------------------------------------------------------
# Always include JSON schemas in “schemas” folders
!**/schemas/*.json
# Always include documented images
!docs/source/images/*.png
!docs/source/images/*.svg

# ====================================================================
# 8. Project-specific generated files
# --------------------------------------------------------------------
# Generated version file by setuptools_scm
quantify/_version.py
# Generated data
tmp.q1asm
tmp.q1hex
tmp.hex
tmp_disasm.q1asm
public/
