diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py index 570e2cd282..d189788157 100644 --- a/tools/linter_lib/custom_check.py +++ b/tools/linter_lib/custom_check.py @@ -1,8 +1,6 @@ -from typing import List, TYPE_CHECKING +from typing import List -from zulint.custom_rules import RuleList -if TYPE_CHECKING: - from zulint.custom_rules import Rule +from zulint.custom_rules import Rule, RuleList # Rule help: # By default, a rule applies to all files within the extension for which it is specified (e.g. all .py files)