PyCQA / flake8

flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
https://flake8.pycqa.org
Other
3.43k stars 307 forks source link

Allow the enforcing of some type hint practices #1908

Closed AdrianB-sovo closed 9 months ago

AdrianB-sovo commented 9 months ago

describe the request

I would like an option to enforce some coding style for the type hints. For example:

asottile commented 9 months ago

use a plugin or formatter for it, pyupgrade helps

you'll note from the issue template that flake8 does not implement any checks