Skip to content

Commit

Permalink
add mypy and pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 committed Aug 8, 2024
1 parent 7a2e44b commit 00e4d85
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
- name: Lint with ruff
run: |
poetry run ruff check .
# - name: Check types with mypy
# run: |
# mypy pymodbus_repl
# - name: Pytest
# run: |
# pytest
- name: Check types with mypy
run: |
poetry run mypy pymodbus_repl
- name: Pytest
run: |
poetry run pytest
108 changes: 107 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ coverage = "^7.4.1"
pytest-xdist = "^3.5.0"
pytest-cov = "^4.1.0"
twine = "^5.0.0"
mypy = "^1.11.1"
types-pygments = "^2.18.0.20240506"
types-tabulate = "^0.9.0.20240106"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 00e4d85

Please sign in to comment.