mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 13:32:26 +08:00
Update most test/lint dependencies (#11683)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
5
.flake8
5
.flake8
@@ -8,12 +8,15 @@ extend-ignore = Y090
|
||||
per-file-ignores =
|
||||
# We should only need to noqa Y and F821 codes in .pyi files
|
||||
*.py: NQA
|
||||
# TODO: Remove bare "Incomplete"s from stubs (Y065)
|
||||
*.pyi: Y065
|
||||
# Generated protobuf files:
|
||||
# Y021: Include docstrings
|
||||
# Y023: Alias typing as typing_extensions
|
||||
# Y026: Have implicit type aliases
|
||||
# Y053: have literals >50 characters long
|
||||
*_pb2.pyi: Y021, Y023, Y026, Y053
|
||||
# Y065: bare "Incomplete"s used
|
||||
*_pb2.pyi: Y021, Y023, Y026, Y053, Y065
|
||||
|
||||
exclude = .venv*,.git
|
||||
noqa_require_code = true
|
||||
|
||||
Reference in New Issue
Block a user