We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3d41ed commit 50a18a9Copy full SHA for 50a18a9
extras/custom_checks.sh
@@ -72,7 +72,7 @@ function check_do_not_use_builtin_random_in_tests() {
72
}
73
74
function check_deprecated_typing() {
75
- if grep -R '\<typing .*\<import .*\<\(Tuple\|List\|Dict\|Set\|FrozenSet\|AbstractSet\|DefaultDict\|OrderedDict\)\>' "${SOURCE_DIRS[@]}"; then
+ if grep -RI '\<typing .*\<import .*\<\(Tuple\|List\|Dict\|Set\|FrozenSet\|AbstractSet\|DefaultDict\|OrderedDict\)\>' "${SOURCE_DIRS[@]}"; then
76
echo 'do not use typing.List/Tuple/Dict/... for type annotations use builtin list/tuple/dict/... instead'
77
echo 'for more info check the PEP 585 doc: https://peps.python.org/pep-0585/'
78
return 1
0 commit comments