Skip to content

Commit 40cadea

Browse files
committed
tweak
1 parent 57b75ac commit 40cadea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,16 @@ gen-protos = "uv run python scripts/gen_protos.py"
6060
lint = [
6161
{cmd = "uv run ruff check"},
6262
{cmd = "uv run ruff format --check"},
63-
{ref = "lint-types"},
64-
{cmd = "uv run pyright"},
63+
{ref = "lint-types-mypy"},
64+
{ref = "lint-types-pyright"},
6565
{ref = "lint-docs"},
6666
]
6767
bridge-lint = { cmd = "cargo clippy -- -D warnings", cwd = "temporalio/bridge" }
6868
# TODO(cretz): Why does pydocstyle complain about @overload missing docs after
6969
# https://github.com/PyCQA/pydocstyle/pull/511?
7070
lint-docs = "uv run pydocstyle --ignore-decorators=overload"
71-
lint-types = "uv run mypy --namespace-packages --check-untyped-defs ."
71+
lint-types-mypy = "uv run mypy --namespace-packages --check-untyped-defs ."
72+
lint-types-pyright = "uv run pyright"
7273
run-bench = "uv run python scripts/run_bench.py"
7374
test = "uv run pytest"
7475

0 commit comments

Comments
 (0)