mirror of
https://github.com/exo-explore/exo.git
synced 2025-12-23 22:27:50 -05:00
Remove PoeThePoet
This commit is contained in:
23
justfile
23
justfile
@@ -1,3 +1,24 @@
|
||||
regenerate-protobufs:
|
||||
protoc --proto_path=shared/protobufs/schemas --python_out=shared/protobufs/types --pyi_out=shared/protobufs/types shared/protobufs/schemas/*.proto
|
||||
uv run ruff format ./shared/protobufs/types
|
||||
uv run ruff format ./shared/protobufs/types
|
||||
|
||||
fmt:
|
||||
uv run ruff format master worker shared engines/*
|
||||
|
||||
lint:
|
||||
uv run ruff check --fix master worker shared engines/*
|
||||
|
||||
test:
|
||||
uv run pytest master worker shared engines/*
|
||||
|
||||
check:
|
||||
uv run basedpyright --project pyproject.toml
|
||||
|
||||
sync:
|
||||
uv sync --all-packages
|
||||
|
||||
protobufs:
|
||||
just regenerate-protobufs
|
||||
|
||||
build: regenerate-protobufs
|
||||
uv build --all-packages
|
||||
@@ -13,7 +13,6 @@ dependencies = [
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"basedpyright>=1.29.4",
|
||||
"poethepoet>=0.35.0",
|
||||
"pytest>=8.4.0",
|
||||
"ruff>=0.11.13",
|
||||
]
|
||||
@@ -24,16 +23,6 @@ darwin = [
|
||||
"mlx",
|
||||
]
|
||||
|
||||
# task runner configuration
|
||||
[tool.poe.tasks]
|
||||
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 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" }
|
||||
|
||||
###
|
||||
# workspace configuration
|
||||
###
|
||||
@@ -109,4 +98,4 @@ environments = [
|
||||
extend-exclude = ["shared/protobufs/**"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = ["I", "N", "B", "A", "PIE", "SIM"]
|
||||
extend-select = ["I", "N", "B", "A", "PIE", "SIM"]
|
||||
|
||||
Reference in New Issue
Block a user