Skip to content

Commit

Permalink
disable Y026 in typing.pyi too (python#6959)
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra authored Jan 19, 2022
1 parent 65a8825 commit 30580a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ per-file-ignores =
# Unfortunately, flake8 does not allow to "noqa" just a specific error inside the file itself.
# https://github.com/PyCQA/flake8/issues/1079
# F811 redefinition of unused '...'
typing.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F811, F822
typing.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F811, F822, Y026

# We are checking with Python 3 but many of the stubs are Python 2 stubs.
builtins = buffer,file,long,raw_input,unicode,xrange
Expand Down

0 comments on commit 30580a3

Please sign in to comment.