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.
This commit is contained in:
Stéphan Peccini 2026-02-08 08:20:22 +01:00
parent f812fac89e
commit 31bdd749db
Signed by: stephan
GPG Key ID: 3A9774E9CCBF3501
2 changed files with 15 additions and 10 deletions

6
.gitignore vendored
View File

@ -37,4 +37,10 @@ static/Fiches/
.DS_Store
.zed
.ropeproject
# VSCode - settings personnel (copier depuis settings.json.example)
.vscode/settings.json
# Rapports de couverture
htmlcov/
.coverage

View File

@ -1,6 +1,5 @@
{
"gitdoc.enabled": true,
// Configuration Ruff
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
@ -10,34 +9,34 @@
"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.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
}
"python.testing.unittestEnabled": false,
"snyk.advanced.autoSelectOrganization": true
}