Skip to content

Commit

Permalink
Exclude the Python-2 stdlib from flake8 CI check (python#7569)
Browse files Browse the repository at this point in the history
We should hopefully be getting rid of this entire subdirectory soon anyway (python#7367). This will make PRs to flake8-pyi a lot easier.
  • Loading branch information
AlexWaygood authored Mar 31, 2022
1 parent e719f54 commit 85f060b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ per-file-ignores =
# https://github.com/PyCQA/flake8/issues/1079
# F811 redefinition of unused '...'
stubs/*.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F822, Y026, Y027
stdlib/@python2/*.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F822, Y026, Y027
stdlib/@python2/typing.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F811, F822, Y026, Y027
stdlib/typing.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F811, F822, Y026, Y034

# We are checking with Python 3 but many of the stubs are Python 2 stubs.
builtins = buffer,file,long,raw_input,unicode,xrange
exclude = .venv*,.git,*_pb2.pyi
exclude = .venv*,.git,*_pb2.pyi,stdlib/@python2/*

0 comments on commit 85f060b

Please sign in to comment.