Feature/pyright check (#1845)

* ✨ 新增Pyright Lint工作流

* ✨ 新增Ruff Lint工作流

* 👷 添加pydanitc矩阵

* 👷 添加手动触发支持

---------

Co-authored-by: BalconyJH <balconyjh@gmail.com>
This commit is contained in:
HibiKier
2025-03-25 00:23:34 +08:00
committed by GitHub
co-authored by BalconyJH
parent 629b4256af
commit 737a740968
13 changed files with 10162 additions and 195 deletions
-2
View File
@@ -2,8 +2,6 @@
"recommendations": [
"charliermarsh.ruff",
"esbenp.prettier-vscode",
"ms-python.black-formatter",
"ms-python.isort",
"ms-python.python",
"ms-python.vscode-pylance"
]
+2 -2
View File
@@ -33,10 +33,10 @@
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff", // 默认使用 Ruff 格式化
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.wordBasedSuggestions": "allDocuments",
"editor.formatOnType": true,
"editor.formatOnSave": true, // 保存时自动格式化
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports": "explicit"