mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Ignore Y023 in generated *_pb2.pyi files (#11246)
This commit is contained in:
5
.flake8
5
.flake8
@@ -36,8 +36,9 @@ per-file-ignores =
|
||||
# https://github.com/PyCQA/flake8/issues/1079
|
||||
# F811 redefinition of unused '...'
|
||||
stdlib/typing.pyi: B, E701, E741, F401, F403, F405, F811
|
||||
# Generated protobuf files include docstrings
|
||||
*_pb2.pyi: B, E701, E741, F401, F403, F405, Y021, Y026, Y053, Y054
|
||||
# Generated protobuf files include docstrings,
|
||||
# and import some things from typing_extensions that could be imported from typing
|
||||
*_pb2.pyi: B, E701, E741, F401, F403, F405, Y021, Y023, Y026, Y053, Y054
|
||||
|
||||
exclude = .venv*,.git
|
||||
noqa_require_code = true
|
||||
|
||||
Reference in New Issue
Block a user