# --------------------------------------------------------------
#  Python / package build artefacts
# --------------------------------------------------------------
# Byte‑compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions (rare, but safe to ignore)
*.so

# Distribution / packaging
build/
dist/
*.egg-info/
*.egg
*.whl               # wheels that might be built locally

# Poetry / pip‑tools / uv lock files – keep the lock file!
# uv.lock        <-- **DO NOT** ignore, it is version‑controlled
# poetry.lock    <-- (if you ever add Poetry) keep it

# --------------------------------------------------------------
#  Virtual environments & local Python tools
# --------------------------------------------------------------
.venv/
venv/
ENV/
env/
# pipenv
Pipfile.lock        # keep if you ever use Pipenv
# conda
conda-env/
# pyenv
.python-version

# --------------------------------------------------------------
#  Linting / formatting / static analysis caches
# --------------------------------------------------------------
# ruff cache (fast, safe to delete)
.ruff_cache/

# mypy cache
.mypy_cache/
.dmypy.json
.dmypy.json.0

# pyright / pyrightcache (if you use it)
pyrightconfig.json
.pyright/

# --------------------------------------------------------------
#  Testing / coverage artefacts
# --------------------------------------------------------------
.pytest_cache/
htmlcov/
.coverage
.coverage.*
nosetests.xml
coverage.xml
*.cover
*.py,cover

# --------------------------------------------------------------
#  Jupyter / notebook artefacts
# --------------------------------------------------------------
# Notebook checkpoints created by the Jupyter UI
.ipynb_checkpoints/

# JupyterLab workspace files (optional)
*.jupyterlab-settings

# Exported notebooks (HTML, PDF, etc.)
*.nb.html
*.nb.pdf
*.nbconvert.ipynb

# --------------------------------------------------------------
#  IDE / editor specific files
# --------------------------------------------------------------
# VS Code
.vscode/
*.code-workspace

# PyCharm / IntelliJ
.idea/
*.iml
*.ipr
*.iws

# Sublime Text
*.sublime-project
*.sublime-workspace

# Emacs
*~
\#*\#
.#*
*.elc

# Vim
*.swp
*.swo
Session.vim
viminfo

# --------------------------------------------------------------
#  Data / large scientific files (keep them out of VCS)
# --------------------------------------------------------------
data/
tmp/
*.h5
*.hdf5
*.zarr/
*.nc
*.tif
*.tiff
*.ome.tif
*.ome.tiff
*.raw
*.csv
*.tsv
*.parquet
*.feather

# Cache files generated by Dask (e.g., temporary spill to disk)
.dask/
dask-worker-space/

# --------------------------------------------------------------
#  Miscellaneous / OS generated files
# --------------------------------------------------------------
.DS_Store          # macOS Finder metadata
Thumbs.db          # Windows image preview cache
ehthumbs.db
Desktop.ini

# Logs (if you ever write them)
*.log
