Skip to content

Commit 995058a

Browse files
committed
replace mypy with zuban
1 parent 80c48d3 commit 995058a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ jobs:
7474
run: |
7575
uv run pylint --recursive=y examples pymodbus test
7676
77-
- name: mypy
77+
- name: Type check with zuban
7878
if: matrix.run_lint == true
7979
run: |
80-
uv run mypy pymodbus examples
80+
uv run zuban pymodbus examples
8181
8282
- name: ruff
8383
if: matrix.run_lint == true

check_ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ trap 'echo "\"${last_command}\" command filed with exit code $?."' EXIT
88
codespell
99
ruff check --fix --exit-non-zero-on-fix .
1010
pylint --recursive=y examples pymodbus test
11-
mypy pymodbus examples
11+
zuban pymodbus examples
1212
pytest -x --cov --numprocesses auto
1313
echo "Ready to push"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ development = [
5858
"build>=1.2.2",
5959
"codespell>=2.3.0",
6060
"coverage>=7.10.7",
61-
"mypy>=1.18.2",
6261
"pylint>=4.0.0",
6362
"pytest>=8.4.2",
6463
"pytest-asyncio>=1.2.0",
@@ -70,7 +69,8 @@ development = [
7069
"ruff>=0.13.1",
7170
"twine>=6.2.0",
7271
"types-Pygments",
73-
"types-pyserial"
72+
"types-pyserial",
73+
"zuban>=0.3.0"
7474
]
7575
all = [
7676
"pymodbus[serial, simulator, documentation, development]"

0 commit comments

Comments
 (0)