# =============================================================================
# OPTOPHI SHARED — Python / tooling / IDE / OS
# Keep from this banner through "Editor backups / misc" identical in:
#   pygubernator, pycharter, pystator
# Base aligns with github/gitignore: Python.gitignore + Global JetBrains, VisualStudioCode,
# macOS, Windows (same sources as https://github.com/github/gitignore).
# =============================================================================
# -----------------------------------------------------------------------------
# Python (GitHub gitignore template)
# https://github.com/github/gitignore/blob/main/Python.gitignore
# -----------------------------------------------------------------------------
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# 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

# PyInstaller
*.manifest
*.spec

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

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py.cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Default local SQLite DB files (product-specific names; *.db covers others)
pycharter.db
pystator.db
# Generated performance HTML (scripts/run_performance_report.sh, pystator_performance_report.py)
data/pystator_performance_report.html
pygubernator.db
pygubernator_control_plane.db
*.db

# Flask
instance/
.webassets-cache

# Scrapy
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Notebook editor checkpoints (e.g. if someone adds .ipynb locally)
.ipynb_checkpoints
# Repo-root scratch: local datasets, notebooks, Marimo (leading / = root only;
# does not ignore packaged trees under src/, e.g. workflow seed YAML under */data/seed/)
/data/
/notebooks/
__marimo__/
.marimo/

# IPython
profile_default/
ipython_config.py

# pyenv
# .python-version

# pipenv
# Pipfile.lock

# poetry
# poetry.lock
# poetry.toml

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

# uv (https://docs.astral.sh/uv/)
.uv/

# PEP 582
__pypackages__/

# Celery
celerybeat-schedule
celerybeat.pid

# Redis
*.rdb
*.aof
*.pid

# RabbitMQ
mnesia/
rabbitmq/
rabbitmq-data/

# SageMath
*.sage.py

# Environments
.env
.envrc
.env.local
.env.development
.env.test
.env.production
.env.staging
.env.*.local
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Accidental npm at repository root (UI dependencies live under src/*/ui/)
/node_modules/

# Spyder
.spyderproject
.spyproject

# Rope
.ropeproject

# MkDocs
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre
.pyre/

# pytype
.pytype/

# Cython
cython_debug/

# Ruff
.ruff_cache/

# PyPI
.pypirc

# -----------------------------------------------------------------------------
# JetBrains IDEs (GitHub Global/JetBrains.gitignore)
# -----------------------------------------------------------------------------
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
.idea/**/aws.xml
.idea/**/contentModel.xml
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
.idea/**/gradle.xml
.idea/**/libraries
.idea/**/mongoSettings.xml
.idea/replstate.xml
.idea/sonarlint/
.idea/sonarlint.xml
.idea/httpRequests
http-client.private.env.json
.idea/caches/build_file_checksums.ser
.idea/.cache/.Apifox_Helper
.idea/ApifoxUploaderProjectSetting.xml
.idea/**/copilot.data.migration.*.xml
cmake-build-*/
*.iws
out/
.idea_modules/
atlassian-ide-plugin.xml
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# -----------------------------------------------------------------------------
# Visual Studio Code (GitHub Global/VisualStudioCode.gitignore)
# -----------------------------------------------------------------------------
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
*.vsix

# Ignore entire IDE directories (keeps repo clean; remove if you want to share IDE config)
.idea/
.vscode/

# -----------------------------------------------------------------------------
# macOS (GitHub Global/macOS.gitignore)
# -----------------------------------------------------------------------------
.DS_Store
__MACOSX/
.AppleDouble
.LSOverride
Icon[ ]
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# -----------------------------------------------------------------------------
# Windows (GitHub Global/Windows.gitignore)
# -----------------------------------------------------------------------------
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# -----------------------------------------------------------------------------
# Editor backups / misc
# -----------------------------------------------------------------------------
*.swp
*.swo
*~

# -----------------------------------------------------------------------------
# Project-specific (pystator)
# -----------------------------------------------------------------------------
pystator.cfg
site/
src/pystator/_bundled_docs/
src/pystator/ui/.next/
src/pystator/ui/out/
src/pystator/ui/node_modules/
src/pystator/ui/next-env.d.ts
src/pystator/ui/.env*.local
src/pystator/ui/static/
# TypeScript incremental build cache
*.tsbuildinfo
