mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-21 23:25:39 +08:00
Switch to ruff (#1939)
* `isort` -> `ruff` * `pylint` -> `ruff` * Remove line * More minor cleanup * Better documentation for rules we are enabling * Fix gitignore, run black * vscode settings --------- Co-authored-by: Matt Tancik <mattt4001@gmail.com>
This commit is contained in:
1 parent
814db32ec4
commit
d542646c72
79 files changed
+158
-237
No files matched your search
Vendored
+3
-2
@@ -33,7 +33,7 @@
|
||||
"python.envFile": "${workspaceFolder}/.env",
|
||||
"python.formatting.provider": "black",
|
||||
"python.formatting.blackArgs": ["--line-length=120"],
|
||||
"python.linting.pylintEnabled": true,
|
||||
"python.linting.pylintEnabled": false,
|
||||
"python.linting.flake8Enabled": false,
|
||||
"python.linting.enabled": true,
|
||||
"python.sortImports.args": ["--src=${workspaceFolder}", "--profile", "black"],
|
||||
@@ -122,5 +122,6 @@
|
||||
},
|
||||
"python.analysis.typeCheckingMode": "basic",
|
||||
"python.analysis.diagnosticMode": "workspace",
|
||||
"eslint.packageManager": "yarn"
|
||||
"eslint.packageManager": "yarn",
|
||||
"ruff.fixAll": true
|
||||
}
|
||||
Reference in new issue
Block a user