Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
]
}
18 changes: 18 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
{
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"editor.tabSize": 2,
"files.encoding": "utf8",
"files.eol": "\n",
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.tabSize": 4,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
"files.exclude": {
"**/__pycache__": true,
"build/**": true
},
"editor.rulers": [99],
}
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ ignore = [
[tool.ruff.lint.pydocstyle]
convention = "numpy"

# # Ruff is enabled in config file to run on save
# Disable isort due to timing conflict with ruff
[tool.isort]
skip_glob = "**"
# Disable local black to avoid conflict with ruff
[tool.black]
exclude = ".*"


[dependency-groups]
build = ["build"]
Expand Down
Loading