mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
Replace isort with Ruff (#10912)
This commit is contained in:
8
.vscode/settings.default.json
vendored
8
.vscode/settings.default.json
vendored
@@ -80,7 +80,6 @@
|
||||
"python.linting.prospectorEnabled": false,
|
||||
"python.linting.pylamaEnabled": false,
|
||||
"python.linting.pylintEnabled": false,
|
||||
// Not using bandit
|
||||
"python.linting.banditEnabled": false,
|
||||
// python.analysis is Pylance (pyright) configurations
|
||||
"python.analysis.fixAll": [
|
||||
@@ -109,13 +108,12 @@
|
||||
"--config=.flake8"
|
||||
],
|
||||
"flake8.importStrategy": "fromEnvironment",
|
||||
"isort.check": true,
|
||||
"isort.importStrategy": "fromEnvironment",
|
||||
"black-formatter.importStrategy": "fromEnvironment",
|
||||
// Using Ruff instead of isort
|
||||
"isort.check": false,
|
||||
"ruff.importStrategy": "fromEnvironment",
|
||||
"ruff.fixAll": true,
|
||||
// Conflict between Ruff and isort
|
||||
"ruff.organizeImports": false,
|
||||
"ruff.organizeImports": true,
|
||||
"evenBetterToml.formatter.alignComments": false,
|
||||
"evenBetterToml.formatter.alignEntries": false,
|
||||
"evenBetterToml.formatter.allowedBlankLines": 1,
|
||||
|
||||
Reference in New Issue
Block a user