Skip to content

Commit c920e5b

Browse files
committed
adds ruff formatting in pre-save and test discovery
1 parent 8e204d3 commit c920e5b

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

.vscode/settings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"[python]": {
3+
"editor.defaultFormatter": "charliermarsh.ruff",
4+
"editor.formatOnSave": true,
5+
"editor.codeActionsOnSave": {
6+
"source.fixAll": "explicit",
7+
"source.organizeImports": "explicit"
8+
}
9+
},
10+
"python.testing.pytestArgs": [
11+
"backend/app",
12+
],
13+
"python.testing.pytestEnabled": true,
14+
"python.terminal.activateEnvironment": true,
15+
"python.defaultInterpreterPath": "./venv/bin/python",
16+
}

backend/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ dependencies = [
2121
"pydantic-settings<3.0.0,>=2.2.1",
2222
"sentry-sdk[fastapi]<2.0.0,>=1.40.6",
2323
"pyjwt<3.0.0,>=2.8.0",
24+
"pytest-cov>=6.0.0",
2425
]
2526

2627
[tool.uv]

backend/uv.lock

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)