Skip to content

Commit

Permalink
Fix CI mypy job
Browse files Browse the repository at this point in the history
I guess mypy has been updated in CI images: it used to require `type: ignore`
and now asks we remove it.
  • Loading branch information
DimitriPapadopoulos authored and luzpaz committed Feb 8, 2023
1 parent ea349a2 commit ab75ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def parse_options(
import tomllib # type: ignore
except ModuleNotFoundError:
try:
import tomli as tomllib # type: ignore
import tomli as tomllib
except ImportError as e:
if tomllib_raise_error:
raise ImportError(
Expand Down

0 comments on commit ab75ed6

Please sign in to comment.