mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
16 lines
508 B
INI
16 lines
508 B
INI
[flake8]
|
|
# Y: Flake8 is only used to run flake8-pyi, everything else is in Ruff
|
|
# F821: Typeshed is a testing ground for flake8-pyi, which monkeypatches F821
|
|
select = Y, F821
|
|
# Ignore rules normally excluded by default
|
|
extend-ignore = Y090
|
|
per-file-ignores =
|
|
# Generated protobuf files:
|
|
# Y021: Include docstrings
|
|
# Y023: Alias typing as typing_extensions
|
|
# Y026: Have implicit type aliases
|
|
# Y053: have literals >50 characters long
|
|
stubs/*_pb2.pyi: Y021, Y023, Y026, Y053
|
|
|
|
exclude = .venv*,.git
|