Skip to content

Commit

Permalink
Upgrade mypy to 0.902 (#48)
Browse files Browse the repository at this point in the history
We had problems with `Pattern[AnyStr]` which are hopefully fixed with
the newest version.
  • Loading branch information
mristin committed Jun 11, 2021
1 parent 3412129 commit ff16f5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/test-on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
pip3 install --upgrade coveralls
pip3 install -e .[dev]
- name: Install missing type stubs for mypy
if: matrix.python-version == 3.6
run: pip3 install types-dataclasses

- name: Run checks
run: |
python3 -m doctest icontract_hypothesis/__init__.py
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
extras_require={
"dev": [
"black==20.8b1",
"mypy==0.790",
"mypy==0.902",
"pylint==2.3.1",
"pydocstyle>=2.1.1,<3",
"coverage>=4.5.1,<5",
Expand Down

0 comments on commit ff16f5b

Please sign in to comment.