Skip to content

Don't give TH100 error when using cls rather then self in classmethods - #3

Open
zefr0x wants to merge 1 commit into
gagelarsen:masterfrom
zefr0x:master
Open

Don't give TH100 error when using cls rather then self in classmethods#3
zefr0x wants to merge 1 commit into
gagelarsen:masterfrom
zefr0x:master

Conversation

@zefr0x

@zefr0x zefr0x commented Nov 10, 2022

Copy link
Copy Markdown

I think that we should also check if the function is inside a class or not, but i don't have any experiense with ast.

Fixes: #2

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TH100 when using cls in classmethod

1 participant