# =============================================================================
# GITIGNORE RACINE
# =============================================================================
# Ce fichier contient les exclusions GLOBALES et COMMUNES
# Les sous-dossiers ont leurs propres .gitignore pour les exclusions spécifiques

# =============================================================================
# PYTHON - FICHIERS DE BASE (COMMUNS)
# =============================================================================
# Bytecode Python
__pycache__/
*.py[cod]
*$py.class
*.pyo
*.pyd
*.so
.Python

# Environnements virtuels
.venv/
env/
venv/
ENV/
env.bak/
venv.bak/
.conda/

# =============================================================================
# BUILD ET DISTRIBUTION (COMMUNS)
# =============================================================================
# Artifacts de build
build/
!.scripts/build/
dist/
*.egg-info/
*.egg
*.spec

# Packaging
develop-eggs/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
.installed.cfg
MANIFEST

# =============================================================================
# CACHE ET FICHIERS TEMPORAIRES (COMMUNS)
# =============================================================================
# Caches des outils de développement
.pytest_cache/
.ruff_cache/
.mypy_cache/
.bandit/
.pre-commit-cache/
.benchmarks/
.tox/
.cache
.nox/
.hypothesis/
.import_linter_cache/
.grimp_cache/

# Dependency manager cache
.pip-cache/
node_modules/
.npm/
.yarn/

# =============================================================================
# RAPPORTS ET ANALYSES DE QUALITÉ DE CODE (COMMUNS)
# =============================================================================
# Rapports de sécurité (Bandit)
bandit-report.json
bandit-report.xml
bandit-report.html

# Rapports de couverture de code (pytest-cov, coverage)
.coverage
coverage.xml
htmlcov/
.coverage.*

# Rapports de linting et formatage
ruff-report.json
flake8-report.txt
mypy-report.txt

# Rapports de tests
test-results/
.pytest_cache/
junit.xml
test-report.xml
nosetests.xml
*.cover
*.py,cover

# Rapports de documentation
doc8-report.txt
doc8-report.html

# Rapports de complexité et métriques
radon-report.json
mccabe-report.txt
complexity-report.html

# Rapports de dépendances
safety-report.json
pip-audit-report.json
dependency-check-report.xml

# Rapports de performance
py-spy-report.svg
py-spy-report.txt
memory-profiler-report.txt

# Rapports de type checking avancés
pyre-report.json
pyright-report.json
pytype-report.txt

# Rapports de formatage et style
autopep8-report.txt
yapf-report.txt

# Rapports de sécurité avancés
semgrep-report.json
semgrep-report.sarif
codeql-report.json

# Rapports de qualité générale
sonarqube-report.json
codeclimate-report.json
codacy-report.json

# =============================================================================
# LOGS ET FICHIERS TEMPORAIRES
# =============================================================================
# Logs d'application
.logs/
*.log
*.xlsx
*.csv
version_info.txt

# =============================================================================
# IDE ET ÉDITEURS (COMMUNS)
# =============================================================================
# Cursor
.cursorignore
.cursor/
.cursor/rules/
.cursor_cache/

# Visual Studio Code
.vscode/
.vscode-server/
.vscode/settings.json
.vscode/launch.json
.vscode/tasks.json

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

# Vim/Neovim
*.swp
*.swo
*~

# =============================================================================
# AI AGENT
# =============================================================================
# Cursor
.cursor/
.cursorrules
.cursor/rules/
.cursor/*.mdc
cursor.json

# Claude (Anthropic)
.claude/

# =============================================================================
# FICHIERS SYSTÈME (COMMUNS)
# =============================================================================
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/

# macOS
.DS_Store
.DS_Store?
._*
.AppleDouble
.LSOverride

# Linux
.directory
.Trash-*

# =============================================================================
# EXCLUSIONS GLOBALES (COMMUNES)
# =============================================================================
# Fichiers de sauvegarde
*.bak
*.backup
*.old
*.orig
*.rej

# Fichiers temporaires
*.pid
*.tmp
*.temp
_temp/
temp/
tmp/
tmpclaude-*

# MkDocs build output
site/

# =============================================================================
# EXCLUSIONS SPÉCIFIQUES AU PROJET RACINE
# =============================================================================
# Fichiers de configuration globaux et sensibles
.env
.env.*
.env.local
.env.*.local
.secret*
*password*
*secret*
*.key
*.pem
*.crt
credentials/
keys/

# =============================================================================
# PATTERNS ADDITIONNELS
# =============================================================================
# Commit messages temporaires
commit_message.txt

# Fichiers de test temporaires
test_output/
temp_projects/

# Configuration locale utilisateur
local_config/
user_settings/
