nhoad / flake8-unused-arguments

Flake8 plugin to warn against unused arguments in functions
MIT License
31 stars 8 forks source link

Don't raise U100 for stub functions (functions with just `...` as body) #23

Closed GideonBear closed 1 year ago

jonyscathe commented 1 year ago

Also started getting this. Seems to be a python3.11 issue

GideonBear commented 1 year ago

Also started getting this. Seems to be a python3.11 issue

I get it on python 3.9, I don't think it's a version specific issue

GideonBear commented 1 year ago

Wait, I might just be really dumb.

GideonBear commented 1 year ago

I completely forgot there are already configuration options for this. I enabled unused-arguments-ignore-stubs and it works.