Use ruff for code formatting

This commit is contained in:
Sean Whalen
2025-12-12 15:44:46 -05:00
parent a4a5475aa8
commit 73010cf964
2 changed files with 10 additions and 1 deletions

10
.vscode/settings.json vendored
View File

@@ -1,4 +1,14 @@
{
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
// Let Ruff handle lint fixes + import sorting on save
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports.ruff": "explicit"
}
},
"markdownlint.config": {
"MD024": false
},

View File

@@ -8,7 +8,6 @@ fi
. venv/bin/activate
pip install .[build]
ruff format .
ruff check .
cd docs
make clean