Skip to content

Commit

Permalink
Re-enable mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 committed Jun 7, 2023
1 parent e8ea567 commit 47dd5f9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
- name: Lint with ruff
run: |
ruff .
# - name: Check types with mypy
# run: |
# mypy watlow
- name: Check types with mypy
run: |
mypy watlow
- name: Pytest
run: |
pytest
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[mypy]
check_untyped_defs = True

[mypy-pymodbus.*]
ignore_missing_imports = True

[tool:pytest]
addopts = --cov=watlow
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'pytest-cov',
'pytest-asyncio',
'ruff==0.0.271',
'types-pyserial',
],
},
entry_points={
Expand Down

0 comments on commit 47dd5f9

Please sign in to comment.