Skip to content

Commit cdd6303

Browse files
chaarviiAloqeely
andauthored
Update scripts/enforce_match_arg_in_assert_produces_warning.py
Co-authored-by: Abdulaziz Aloqeely <[email protected]>
1 parent 7c4caf2 commit cdd6303

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/enforce_match_arg_in_assert_produces_warning.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313

1414
import argparse
1515
import ast
16-
from collections.abc import Sequence
16+
from typing import TYPE_CHECKING
17+
...
18+
if TYPE_CHECKING:
19+
from collections.abc import Sequence
1720
import sys
1821

1922
ERROR_MESSAGE = (

0 commit comments

Comments
 (0)