From 9a2357dae72397ac795022997b7191562f59a9c3 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Wed, 11 Oct 2023 14:06:37 +0800 Subject: [PATCH] Lint --- click_extra/config.py | 2 +- click_extra/tests/test_pygments.py | 2 +- docs/conf.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/click_extra/config.py b/click_extra/config.py index ae2866e6d..857c06b30 100644 --- a/click_extra/config.py +++ b/click_extra/config.py @@ -30,7 +30,7 @@ if sys.version_info >= (3, 11): import tomllib else: - import tomli as tomllib # type: ignore[import] + import tomli as tomllib # type: ignore[import-not-found] import commentjson as json import requests diff --git a/click_extra/tests/test_pygments.py b/click_extra/tests/test_pygments.py index f80b7eed2..c0d12d432 100644 --- a/click_extra/tests/test_pygments.py +++ b/click_extra/tests/test_pygments.py @@ -25,7 +25,7 @@ if sys.version_info >= (3, 11): import tomllib else: - import tomli as tomllib # type: ignore[import] + import tomli as tomllib # type: ignore[import-not-found] import requests from boltons.strutils import camel2under diff --git a/docs/conf.py b/docs/conf.py index 47b74123f..e1965b850 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -6,7 +6,7 @@ if sys.version_info >= (3, 11): import tomllib else: - import tomli as tomllib # type: ignore[import] + import tomli as tomllib # type: ignore[import-not-found] project_path = Path(__file__).parent.parent.resolve()