Skip to content

Commit 497a090

Browse files
committed
Fix lint+mypy
1 parent 641e209 commit 497a090

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyperformance/_pyproject_toml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import packaging.version
2121

2222
try:
23-
import tomllib # type: ignore[import] # tomllib doesn't exist on 3.7-3.10
23+
import tomllib # type: ignore[import-not-found] # tomllib doesn't exist on 3.7-3.10
2424
except ImportError:
2525
import tomli as tomllib
2626

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ dependencies = [
7373

7474
optional-dependencies.dev = [
7575
"mypy==1.17.1",
76-
"tomli", # Needed even on 3.11+ for typechecking with mypy
76+
"tomli", # Needed even on 3.11+ for typechecking with mypy
7777
"tox",
7878
]
7979
urls = { Homepage = "https://github.com/python/pyperformance" }

0 commit comments

Comments
 (0)