refactor(project): make pyright & ruff happy

This commit is contained in:
MingxuanGame
2025-08-22 08:21:52 +00:00
parent 3b1d7a2234
commit 598fcc8b38
157 changed files with 2382 additions and 4590 deletions

View File

@@ -36,7 +36,7 @@ dependencies = [
authors = [{ name = "GooGuTeam" }]
[tool.ruff]
line-length = 88
line-length = 120
target-version = "py312"
[tool.ruff.format]
@@ -92,10 +92,10 @@ pythonVersion = "3.12"
pythonPlatform = "All"
typeCheckingMode = "standard"
reportShadowedImports = false
disableBytesTypePromotions = true
reportIncompatibleMethodOverride = false
reportIncompatibleVariableOverride = false
exclude = ["migrations/", ".venv/", "venv/"]
[tool.uv.workspace]
members = [
@@ -114,6 +114,7 @@ cache-keys = [{file = "pyproject.toml"}, {file = "packages/msgpack_lazer_api/Car
dev = [
"maturin>=1.9.2",
"pre-commit>=4.2.0",
"pyright>=1.1.404",
"ruff>=0.12.4",
"types-aioboto3[aioboto3,essential]>=15.0.0",
]