Skip to content

Commit

Permalink
chore(deps): bump mypy to 1.4.0 (#429)
Browse files Browse the repository at this point in the history
* chore(deps): bump `mypy` to 1.4.0

* chore(mypy): use newly available `unused-ignore` error code
  • Loading branch information
mkniewallner committed Jun 23, 2023
1 parent e274139 commit 9839a20
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 93 deletions.
2 changes: 1 addition & 1 deletion deptry/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _get_stdlib_modules() -> frozenset[str]:
if sys.version_info[:2] >= (3, 10):
return sys.stdlib_module_names

try: # type: ignore[unreachable]
try: # type: ignore[unreachable, unused-ignore]
return STDLIBS_PYTHON[f"{sys.version_info[0]}{sys.version_info[1]}"]
except KeyError as e:
raise UnsupportedPythonVersionError((sys.version_info[0], sys.version_info[1])) from e
Expand Down

0 comments on commit 9839a20

Please sign in to comment.