Skip to content

Commit

Permalink
ci: run mypy type checking
Browse files Browse the repository at this point in the history
At least for now, disabling the failing checks
  • Loading branch information
michalc committed Nov 17, 2024
1 parent 455f486 commit 26b7047
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
- name: "Install python dependencies"
run: |
pip install ".[dev,ci]"
- name: "Run type checking"
run: |
mypy python --disable-error-code import --disable-error-code no-redef --disable-error-code assignment
- name: "Run tests"
run: |
coverage run -m unittest -v
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ dependencies = [
[project.optional-dependencies]
dev = [
"coverage>=6.2",
"mypy>=1.4.1",
"pytest>=6.2.5",
"pytest-cov>=3.0.0",
"trio>=0.19.0",
]
ci = [
"mypy==1.4.1",
"pycryptodome==3.10.1",
"stream-inflate==0.0.12",
]
Expand Down

0 comments on commit 26b7047

Please sign in to comment.