Skip to content

Commit c74b073

Browse files
committed
🧑‍💻 totally move to ruff for linting
1 parent 5038aff commit c74b073

4 files changed

Lines changed: 17 additions & 216 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
"python.analysis.diagnosticMode": "workspace",
1414
"python.analysis.typeCheckingMode": "standard",
1515
"[python]": {
16-
"editor.defaultFormatter": "ms-python.black-formatter",
16+
"editor.defaultFormatter": "charliermarsh.ruff",
1717
"editor.codeActionsOnSave": {
18+
"source.fixAll.ruff": "explicit",
1819
"source.organizeImports": "explicit"
1920
}
2021
},
@@ -44,9 +45,8 @@
4445
"extensions": [
4546
"ms-python.python",
4647
"ms-python.vscode-pylance",
48+
"charliermarsh.ruff",
4749
"detachhead.basedpyright",
48-
"ms-python.isort",
49-
"ms-python.black-formatter",
5050
"EditorConfig.EditorConfig",
5151
"esbenp.prettier-vscode",
5252
"bradlc.vscode-tailwindcss"

.pre-commit-config.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@ repos:
1313
args: [--fix, --exit-non-zero-on-fix]
1414
stages: [pre-commit]
1515

16-
- repo: https://github.com/pycqa/isort
17-
rev: 7.0.0
18-
hooks:
19-
- id: isort
20-
stages: [pre-commit]
21-
22-
- repo: https://github.com/psf/black-pre-commit-mirror
23-
rev: 26.1.0
24-
hooks:
25-
- id: black
26-
stages: [pre-commit]
27-
2816
- repo: https://github.com/nonebot/nonemoji
2917
rev: v0.1.4
3018
hooks:

0 commit comments

Comments
 (0)