# ============================================================================
# Python Package .gitignore - Optimized for Homodyne
# ============================================================================

# ----------------------------------------------------------------------------
# Python Bytecode & Compiled Files
# ----------------------------------------------------------------------------
__pycache__/
*.py[cod]
*$py.class
*.so
*.dylib
*.dll

# ----------------------------------------------------------------------------
# Distribution / Packaging
# ----------------------------------------------------------------------------
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
*.whl

# Auto-generated version file (setuptools_scm)
homodyne/_version.py

# ----------------------------------------------------------------------------
# Installer & Package Managers
# ----------------------------------------------------------------------------
pip-log.txt
pip-delete-this-directory.txt
.pypirc

# PyInstaller
*.manifest
*.spec

# ----------------------------------------------------------------------------
# Testing & Coverage
# ----------------------------------------------------------------------------
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
.benchmarks/
test_report.html
test_reports/
bandit_re*.json
bandit-re*.json
pip_audit_report.json

# ----------------------------------------------------------------------------
# Virtual Environments
# ----------------------------------------------------------------------------
.env
.envrc
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.conda/
conda-env/

# ----------------------------------------------------------------------------
# Dependency Management
# ----------------------------------------------------------------------------
# Pipenv
Pipfile.lock

# UV
uv.lock

# Poetry
poetry.lock

# PDM
pdm.lock
.pdm-python
.pdm-build/

# Pixi
.pixi/
pixi.lock

# PEP 582
__pypackages__/

# ----------------------------------------------------------------------------
# Jupyter Notebooks
# ----------------------------------------------------------------------------
.ipynb_checkpoints
*.ipynb_checkpoints/
*/.ipynb_checkpoints/*

# ----------------------------------------------------------------------------
# Documentation
# ----------------------------------------------------------------------------
# Sphinx build artifacts
docs/_build/
docs/build/
doc/build/
.doctrees/
*.doctree

# Sphinx generated files
docs/source/_autosummary/
docs/source/_generated/
docs/source/api/generated/

# MkDocs
/site

# ----------------------------------------------------------------------------
# Scientific Computing & Data
# ----------------------------------------------------------------------------
# Data files (adjust as needed)
*.h5
*.hdf5
*.mat
*.npy
*.npz
# Uncomment if you want to ignore large data files:
# *.csv
# *.xlsx
# *.pkl
# *.pickle

# Plots and figures (uncomment if generated)
# *.png
# *.jpg
# *.pdf
# figures/
# plots/

# ----------------------------------------------------------------------------
# Type Checkers & Linters
# ----------------------------------------------------------------------------
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
.pytype/
.ruff_cache/
.pylint_cache/
.nlsq_cache/

# ----------------------------------------------------------------------------
# IDEs & Editors
# ----------------------------------------------------------------------------
# PyCharm
.idea/

# VSCode
.vscode/
*.code-workspace

# Spyder
.spyderproject
.spyproject

# Rope
.ropeproject

# Vim
*.swp
*.swo

# Emacs
\#*\#
.\#*

# ----------------------------------------------------------------------------
# AI-Powered Development Tools
# ----------------------------------------------------------------------------
.agent/
.claude/
.code/
.specify/
.codex/
.gemini/
agent-os/
specs/
.cursor/
.cursorignore
.cursorindexingignore
.abstra/
.serena/
.ultra-think/
AGENTS.md
CLAUDE.md
codex.md
GEMINI.md
WARP.md

# ----------------------------------------------------------------------------
# Operating System
# ----------------------------------------------------------------------------
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini

# Linux
.directory

# ----------------------------------------------------------------------------
# Logs & Temporary Files
# ----------------------------------------------------------------------------
*.log
*.tmp
*.temp
*.bak
*.backup
*.orig
*~
.cache/
tmp/

# ----------------------------------------------------------------------------
# Profiling
# ----------------------------------------------------------------------------
*.prof
*.lprof
.prof/

# ----------------------------------------------------------------------------
# Cython
# ----------------------------------------------------------------------------
cython_debug/
*.c
*.cpp
# Uncomment if you have Cython source files to keep:
# !src/**/*.c
# !src/**/*.cpp

# ----------------------------------------------------------------------------
# Miscellaneous
# ----------------------------------------------------------------------------
# IPython
profile_default/
ipython_config.py

# Jupyter
.jupyter/

# Marimo
marimo/_static/
marimo/_lsp/
__marimo__/

# Environment variables
.env.local
.env.*.local

# Node.js
node_modules/

# Translations
*.mo
*.pot

# Celery
celerybeat-schedule
celerybeat.pid

# SageMath
*.sage.py

# Database
db.sqlite3
db.sqlite3-journal

# ----------------------------------------------------------------------------
# Homodyne-Specific
# ----------------------------------------------------------------------------
# Analysis results and outputs
homodyne_analysis_results/
homodyne_results/
homodyne_analysis_results.json
.homodyne_cache/

# CMC temporary files
cmc_temp_*/

# Run artifacts
run.log
phi_angles_list.txt

# Development scripts
scripts/dev_cleanup/

# Task group files
TASK_GROUP_*.md

# Analysis and debug reports (temporary)
codebase_analysis.md
DEBUG_REPORT.md
T042_test_failure_analysis.md
T043_integration_test_analysis.md
PRODUCTION_READINESS_REPORT.md
SCIENTIFIC_VALIDATION_REPORT.md
DOCUMENTATION_POLISH_SUMMARY.md
PERFORMANCE_ANALYSIS_REPORT.md
ARCHITECTURE_REVIEW.md

# ----------------------------------------------------------------------------
# Code Review & Analysis Artifacts (temporary)
# ----------------------------------------------------------------------------
commit_*_review.json
commit_*_breaking_changes.json
git_workflow_summary_*.md
code_quality_fixes_summary.md

# ----------------------------------------------------------------------------
# Temporary / Work-in-Progress Directories
# ----------------------------------------------------------------------------
fix-imports/
.optimization/

# ----------------------------------------------------------------------------
# Profiling (development scratch work)
# ----------------------------------------------------------------------------
profiling/
