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:
parent
f812fac89e
commit
31bdd749db
6
.gitignore
vendored
6
.gitignore
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user