Skip to content

Commit caba2d7

Browse files
authored
Move Mypy CLI to PDM script
1 parent e19b691 commit caba2d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: pdm run ruff format . --check
4444

4545
- name: Run mypy
46-
run: pdm run mypy --show-error-codes
46+
run: pdm mypy
4747

4848
- name: Lint
4949
run: pdm run ruff check .

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ includes = [
108108
[tool.pdm.scripts]
109109
lint = "ruff check --fix ."
110110
format = "ruff format ."
111-
mypy = "mypy openapi_python_client"
111+
mypy = "mypy openapi_python_client --show-error-codes"
112112
check = { composite = ["lint", "format", "mypy", "test"] }
113113
regen = {composite = ["regen_e2e", "regen_integration"]}
114114
e2e = "pytest openapi_python_client end_to_end_tests/test_end_to_end.py"

0 commit comments

Comments
 (0)