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

# Virtual Environments
venv/
ENV/
env/
.venv/
.ENV/
.env/

# PyCharm
.idea/

# VSCode
.vscode/
*.code-workspace

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
Pipfile.lock

# poetry
poetry.lock

# pytest
.pytest_cache/
.cache
htmlcov/
.coverage
.coverage.*
coverage.xml
*.cover
*.py,cover
.hypothesis/

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

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Ruff
.ruff_cache/

# Environments
.env
.env.local
.env.*.local

# Logs
*.log
logs/
*.log.*

# Database
*.db
*.sqlite
*.sqlite3

# MacOS
.DS_Store
.AppleDouble
.LSOverride

# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
[Dd]esktop.ini

# Docker
docker-compose.override.yml
.dockerignore

# Build outputs
build/
build-*/
!
# Allow vendored comfyui-json dist to be tracked
!src/workflows/vendor/
!src/workflows/vendor/comfyui-json/
!src/workflows/vendor/comfyui-json/dist/
!src/workflows/vendor/comfyui-json/dist/index.js
!src/workflows/vendor/comfyui-json/dist/index.d.ts

# Do not ignore Next.js utility library under frontend
!frontend/src/lib/
!frontend/src/lib/**

# Model files (large files)
*.safetensors
*.ckpt
*.pth
*.pt
*.bin
*.onnx
*.h5
*.pb

# ComfyUI specific
models/
input/
output/
temp/
custom_nodes/

# API keys and secrets
secrets/
*.key
*.pem
*.crt

# Temporary files
*.tmp
*.temp
*.swp
*.swo
*~

# Archives
*.tar
*.tar.gz
*.zip
*.rar
*.7z

# IDE specific
*.sublime-project
*.sublime-workspace

# Node (if frontend added later)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Terraform (if infrastructure as code added)
*.tfstate
*.tfstate.*
.terraform/

# Kubernetes
kubeconfig
*.kubeconfig
