Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"recommendations": [
"charliermarsh.ruff",
"davidanson.vscode-markdownlint",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"gruntfuggly.todo-tree",
"ms-python.mypy-type-checker",
"ms-python.python",
"rust-lang.rust-analyzer",
"streetsidesoftware.code-spell-checker",
Expand Down
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@
"werr",
"wrapfs"
],
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
}
}
3 changes: 2 additions & 1 deletion bindings/py/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Python development as well.
If using VS Code (or other compatible editor like e.g. Codium or Cursor) we
recommended the official [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
extension from Microsoft. This will also install the Pylance, Python Debugger
and Python Environments extensions.
and Python Environments extensions. For formatting and linting we use [Ruff](https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff)
and typechecking is done by [Mypy](https://marketplace.visualstudio.com/items?itemName=ms-python.mypy-type-checker).

If your editor is having problems finding imports even after installing all
dependencies (see below), you can try to go into the settings of the Python
Expand Down
Loading