add vscode config and sync pyglet and lndl

This commit is contained in:
shenjack 2023-12-24 03:52:46 +08:00
parent 109ff00bb1
commit 487533c128
Signed by: shenjack
GPG Key ID: 7B1134A979775551
5 changed files with 19 additions and 11 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
# VScode file
.vscode/
.vs/
DR.code-workspace
trytry/

View File

@ -1,6 +1,5 @@
{
"rust-analyzer.linkedProjects": [
"mods/dr_game/Difficult_Rocket_rs/src/Cargo.toml",
"libs/pyglet_rs/src/Cargo.toml",
]
"rust-analyzer.linkedProjects": [
"mods/dr_game/Difficult_Rocket_rs/src/Cargo.toml"
]
}

@ -1 +1 @@
Subproject commit 364624a996501d39d508d0f416dfc78e428e1dc1
Subproject commit 716f735fe797ed7d34b07f1f52e269e2ab7e7ce5

@ -1 +1 @@
Subproject commit 8bef88a5922c13cd5ff466f300a2610ce43eacbb
Subproject commit 6b586c72a7c17aa7b140db3a0549897cc73f9959

View File

@ -33,8 +33,19 @@ build = [
"imageio>=2.25.0",
]
[tool.ruff]
[tool.pyright]
include = ["Difficult_Rocket", "libs/utils", "mods"]
exclude = [
'libs/pyglet',
'libs/pyperclip',
'libs/lib_not_dr',
'libs/MCDR',
'libs/xmltodict',
]
pythonVersion = "3.8"
[tool.ruff]
target-version = "py38"
line-length = 90
src = ["Difficult_Rocket", "libs/utils", "mods"]
@ -44,7 +55,6 @@ exclude = [
'libs/lib_not_dr',
'libs/MCDR',
'libs/xmltodict',
'libs/utils/logger-old.py', # 旧版日志, 忽略他就好
]
[tool.ruff.lint]