Skip to content

Commit

Permalink
Change python formatter to Ruff in devcontainer (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Jun 1, 2024
1 parent dc5b01b commit ed64593
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion template/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
],
"settings": {
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
Expand All @@ -33,7 +34,7 @@
"coverage-gutters.xmlname": "coverage.xml",
"python.analysis.extraPaths": ["${workspaceFolder}/src"],
"python.defaultInterpreterPath": ".venv/bin/python",
"python.formatting.provider": "black",
"python.formatting.provider": "ruff",
"python.linting.enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.pylintEnabled": true,
Expand Down

0 comments on commit ed64593

Please sign in to comment.