Skip to content

Commit 56cbde4

Browse files
authored
Ignore flake8-pyi Y041 (redundant float | int) (#16096)
Part of #16059
1 parent 7020bc2 commit 56cbde4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.flake8

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
# Y: Flake8 is only used to run flake8-pyi, everything else is in Ruff
33
select = Y
44
# Ignore rules normally excluded by default
5-
extend-ignore = Y090,Y091
5+
# Also ignore Y041 (redundant (complex |) float | int), see
6+
# https://github.com/python/typeshed/issues/16059
7+
extend-ignore = Y041,Y090,Y091
68
per-file-ignores =
79
# Generated protobuf files:
810
# Y021: Include docstrings

0 commit comments

Comments
 (0)