Skip to content

Commit 25b6909

Browse files
authored
Exclude the Python-2 stdlib from flake8 CI check
We should hopefully be getting rid of this entire subdirectory soon anyway (#7367). This will make PRs to flake8-pyi a lot easier.
1 parent e719f54 commit 25b6909

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.flake8

+1-3
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ per-file-ignores =
3535
# https://github.com/PyCQA/flake8/issues/1079
3636
# F811 redefinition of unused '...'
3737
stubs/*.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F822, Y026, Y027
38-
stdlib/@python2/*.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F822, Y026, Y027
39-
stdlib/@python2/typing.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F811, F822, Y026, Y027
4038
stdlib/typing.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F811, F822, Y026, Y034
4139

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

0 commit comments

Comments
 (0)