Files
typeshed/.flake8
T
Sebastian Rittau e9bbd91fdf Remove flake8 F821 checks for stubs (#14367)
F821 is only checked as a test for the F821 monkeypatch functionality in
flake8-pyi, but that will be removed.
2025-07-04 13:07:17 +02:00

15 lines
429 B
INI

[flake8]
# Y: Flake8 is only used to run flake8-pyi, everything else is in Ruff
select = Y
# Ignore rules normally excluded by default
extend-ignore = Y090,Y091
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