Skip to content

Commit

Permalink
Update vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Dec 3, 2024
1 parent 9f737bf commit 57093db
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.coverage
.vscode
__pycache__
build
dist
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ repos:
- id: trailing-whitespace
# Trims trailing whitespace.
exclude_types: [python] # Covered by Ruff W291.
- id: pretty-format-json
args: ['--autofix']
# Checks that all your JSON files are pretty.
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.1
Expand Down
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"charliermarsh.ruff"
]
}
9 changes: 6 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"editor.defaultFormatter": "ms-python.black-formatter",
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
"editor.defaultFormatter": "charliermarsh.ruff",
"python.testing.pytestArgs": [
"."
],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false
}

0 comments on commit 57093db

Please sign in to comment.