Back to Ruff

`string-or-bytes-too-long` (`PYI053`)

crates/ruff_linter/resources/mdtest/flake8-pyi/string-or-bytes-too-long.md

0.15.22278 B
Original Source

string-or-bytes-too-long (PYI053)

toml
[lint]
select = ["PYI053"]

Long name in __all__

Strings in __all__ correspond to exported names and should be exempt from the rule.

pyi
__all__ = [
    "aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeef",
]