# =============================================================================
# UniFi Official API - .gitignore
# =============================================================================

# -----------------------------------------------------------------------------
# Python
# -----------------------------------------------------------------------------

# 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

# -----------------------------------------------------------------------------
# Testing & Coverage
# -----------------------------------------------------------------------------

junit.xml
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# -----------------------------------------------------------------------------
# Type Checking & Linting
# -----------------------------------------------------------------------------

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

# Pyre
.pyre/

# pytype
.pytype/

# Ruff
.ruff_cache/

# -----------------------------------------------------------------------------
# Virtual Environments
# -----------------------------------------------------------------------------

.env
.envrc
.venv
venv/
ENV/
env/
env.bak/
venv.bak/

# PEP 582
__pypackages__/

# pdm
.pdm-python
.pdm-build/

# pixi
.pixi/

# -----------------------------------------------------------------------------
# Documentation
# -----------------------------------------------------------------------------

# Sphinx
docs/_build/

# MkDocs
/site

# -----------------------------------------------------------------------------
# IDEs & Editors
# -----------------------------------------------------------------------------

# Visual Studio Code
.vscode/*
!.vscode/tasks.json
*.code-workspace

# PyCharm / JetBrains
.idea/
*.iml

# Spyder
.spyderproject
.spyproject

# Rope
.ropeproject

# Jupyter
.ipynb_checkpoints
*.ipynb

# IPython
profile_default/
ipython_config.py

# -----------------------------------------------------------------------------
# Operating System
# -----------------------------------------------------------------------------

# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.lnk

# Linux
*~
.fuse_hidden*
.nfs*

# -----------------------------------------------------------------------------
# Project Specific
# -----------------------------------------------------------------------------

# Test scripts with credentials (SECURITY)
test_local_connection.py
test_connection.py
test_live*.py
*_test_local.py

# Local configuration files
*.local.json
*.local.yaml
*.local.yml
config.local.*
secrets.*

# API keys and credentials (SECURITY)
.env.local
.env.*.local
credentials.json
api_key.txt
*.pem
*.key

# Serena MCP memories (local development state)
.serena/memories/

# Claude Code settings (may contain local paths)
# Keep .claude/settings.local.json tracked if needed for team settings

# -----------------------------------------------------------------------------
# Build & Release
# -----------------------------------------------------------------------------

# PyPI configuration
.pypirc

# Cython debug symbols
cython_debug/

# PyBuilder
.pybuilder/
target/

# -----------------------------------------------------------------------------
# Miscellaneous
# -----------------------------------------------------------------------------

# Translations
*.mo
*.pot

# Logs
*.log
logs/

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

# Pre-commit
.pre-commit-cache/
