Code/.vscode/settings.json.example
Stéphan Peccini 31bdd749db
fix: Retirer .vscode/settings.json du versioning et creer fichier exemple
- Retrait de .vscode/settings.json du tracking git
- Creation de .vscode/settings.json.example comme reference
- Mise a jour .gitignore avec commentaire explicatif
- Ajout htmlcov/ et .coverage dans .gitignore

Chaque developpeur peut maintenant copier settings.json.example
vers settings.json et adapter selon ses preferences.
2026-02-08 08:20:22 +01:00

42 lines
1.1 KiB
Plaintext

{
"gitdoc.enabled": true,
// Configuration Ruff
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
}
},
// Extension Ruff
"ruff.enable": true,
"ruff.lint.enable": true,
"ruff.format.args": [
"--config=pyproject.toml"
],
"ruff.lint.args": [
"--config=pyproject.toml"
],
"ruff.organizeImports": true,
"ruff.fixAll": true,
// Affichage des problèmes
"ruff.showNotifications": "onWarning",
// Python général
"python.analysis.typeCheckingMode": "basic",
"python.linting.enabled": true,
"python.linting.ruffEnabled": true,
// Fichiers à ignorer
"files.exclude": {
"**/__pycache__": true,
"**/*.pyc": true,
"**/.pytest_cache": true
},
// Tests
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"snyk.advanced.autoSelectOrganization": true
}