Skip to content

PYI054 documentation states the wrong maximum length #16423

@dscorbett

Description

@dscorbett

The documentation for numeric-literal-too-long (PYI054) says:

If a function has a default value where the literal representation is greater than 50 characters, the value is likely to be an implementation detail or a constant that varies depending on the system you're running on.

However, the limit is 10 characters, not 50 characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions