Skip to content

Commit 7331550

Browse files
authored
Fix mypy (#498)
1 parent 316ecb0 commit 7331550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pypistats/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def _package(value: Any) -> str:
7777
try:
7878
import tomllib
7979
except ImportError:
80-
import tomli as tomllib
80+
import tomli as tomllib # type: ignore[import-not-found, no-redef]
8181

8282
data = tomllib.loads(pyproject_toml.read_text())
8383
try:

0 commit comments

Comments
 (0)