Skip to content

Commit

Permalink
Merge pull request #45 from lpsinger/vscode
Browse files Browse the repository at this point in the history
Update vscode settings
  • Loading branch information
dakota002 authored Nov 27, 2024
2 parents ac6d345 + 511a802 commit 69ba5eb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
__pycache__
.coverage
.tox
.vscode
build
dist
_version.py
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.0
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"
]
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"editor.defaultFormatter": "charliermarsh.ruff",
"python.testing.pytestArgs": [
"."
],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false
}

0 comments on commit 69ba5eb

Please sign in to comment.