mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
custom_check: Use unconditional type imports.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
789e612c70
commit
dd4d8968da
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user