Skip to content

Commit 5a7c7e8

Browse files
authored
TYP: disable flake8-pyi's Y041 (#48870)
1 parent 3cfc81c commit 5a7c7e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.cfg

+3-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ ignore =
123123
# Use typing_extensions.TypeAlias for type aliases
124124
Y026,
125125
# Use "collections.abc.*" instead of "typing.*" (PEP 585 syntax)
126-
Y027
126+
Y027,
127+
# while int | float can be shortened to float, the former is more explicit
128+
Y041
127129
exclude =
128130
doc/sphinxext/*.py,
129131
doc/build/*.py,

0 commit comments

Comments
 (0)