Skip to content

TH100 when using cls in classmethod #2

Description

@zefr0x

Describe the bug
When using classmethods in python it's common to use cls rather then self as the first argument of the method.

I can see that flake8-typehinting don't know that so it gives me an error:

TH100 function missing type hints for arguments (cls)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions