Skip to content

Commit

Permalink
Update to mypy>=0.990, remove old option
Browse files Browse the repository at this point in the history
`show_none_errors = True` isn't supported any more.
  • Loading branch information
akaihola committed Nov 13, 2022
1 parent 831f6cb commit fb21bc3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- run: pip install -U isort mypy pytest types-toml
- run: pip install -U isort mypy>=0.990 pytest types-toml
- uses: wearerequired/lint-action@v2.0.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ warn_no_return = True
warn_return_any = True
warn_unreachable = True

show_none_errors = True
ignore_errors = False

allow_untyped_globals = False
Expand Down

0 comments on commit fb21bc3

Please sign in to comment.