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
|
.DS_Store
|
||||||
.zed
|
.zed
|
||||||
.ropeproject
|
.ropeproject
|
||||||
|
|
||||||
|
# VSCode - settings personnel (copier depuis settings.json.example)
|
||||||
.vscode/settings.json
|
.vscode/settings.json
|
||||||
|
|
||||||
|
# Rapports de couverture
|
||||||
|
htmlcov/
|
||||||
|
.coverage
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"gitdoc.enabled": true,
|
"gitdoc.enabled": true,
|
||||||
|
|
||||||
// Configuration Ruff
|
// Configuration Ruff
|
||||||
"[python]": {
|
"[python]": {
|
||||||
"editor.defaultFormatter": "charliermarsh.ruff",
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||||
@ -10,34 +9,34 @@
|
|||||||
"source.organizeImports": "explicit"
|
"source.organizeImports": "explicit"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Extension Ruff
|
// Extension Ruff
|
||||||
"ruff.enable": true,
|
"ruff.enable": true,
|
||||||
"ruff.lint.enable": true,
|
"ruff.lint.enable": true,
|
||||||
"ruff.format.args": ["--config=pyproject.toml"],
|
"ruff.format.args": [
|
||||||
"ruff.lint.args": ["--config=pyproject.toml"],
|
"--config=pyproject.toml"
|
||||||
|
],
|
||||||
|
"ruff.lint.args": [
|
||||||
|
"--config=pyproject.toml"
|
||||||
|
],
|
||||||
"ruff.organizeImports": true,
|
"ruff.organizeImports": true,
|
||||||
"ruff.fixAll": true,
|
"ruff.fixAll": true,
|
||||||
|
|
||||||
// Affichage des problèmes
|
// Affichage des problèmes
|
||||||
"ruff.showNotifications": "onWarning",
|
"ruff.showNotifications": "onWarning",
|
||||||
|
|
||||||
// Python général
|
// Python général
|
||||||
"python.analysis.typeCheckingMode": "basic",
|
"python.analysis.typeCheckingMode": "basic",
|
||||||
"python.linting.enabled": true,
|
"python.linting.enabled": true,
|
||||||
"python.linting.ruffEnabled": true,
|
"python.linting.ruffEnabled": true,
|
||||||
|
|
||||||
// Fichiers à ignorer
|
// Fichiers à ignorer
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/__pycache__": true,
|
"**/__pycache__": true,
|
||||||
"**/*.pyc": true,
|
"**/*.pyc": true,
|
||||||
"**/.pytest_cache": true
|
"**/.pytest_cache": true
|
||||||
},
|
},
|
||||||
|
|
||||||
// Tests
|
// Tests
|
||||||
"python.testing.pytestEnabled": true,
|
"python.testing.pytestEnabled": true,
|
||||||
"python.testing.pytestArgs": [
|
"python.testing.pytestArgs": [
|
||||||
"tests"
|
"tests"
|
||||||
],
|
],
|
||||||
"python.testing.unittestEnabled": false
|
"python.testing.unittestEnabled": false,
|
||||||
|
"snyk.advanced.autoSelectOrganization": true
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user