Fix Type Checker; Improve Protobuf Generation

This commit is contained in:
Arbion Halili
2025-06-28 12:28:26 +01:00
parent 38bc8ea7e4
commit f7f779da19
3 changed files with 9 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ darwin = [
fmt = { shell = "ruff format master worker shared engines/*", help = "Format the code" }
lint = { shell = "ruff check --fix master worker shared engines/*", help = "Run the linter" }
test = { shell = "pytest master worker shared engines/*", help = "Run the tests" }
check = { shell = "basedpyright --project master worker shared engines/*", help = "Run type checker" }
check = { shell = "basedpyright --project pyproject.toml", help = "Run type checker" }
sync = { shell = "uv sync --all-packages", help = "Sync the dependencies" }
protobufs = { shell = "just regenerate-protobufs", help = "Regenerate the protobufs" }
build = { shell = "just regenerate-protobufs && uv build --all-packages", help = "Build the project" }
@@ -85,7 +85,10 @@ include = ["master", "worker", "shared", "engines/*"]
pythonVersion = "3.13"
pythonPlatform = "Darwin"
exclude = ["shared/protobufs/**"]
stubPath = "shared/protobufs/types"
ignore = [
"shared/protobufs/types/**/*",
]
###
# uv configuration