arrow-py / arrow

🏹 Better dates & times for Python
https://arrow.readthedocs.io
Apache License 2.0
8.71k stars 673 forks source link

Add flake8 checks for annotations #856

Closed jadchaar closed 2 years ago

jadchaar commented 4 years ago

Feature Request

As part of the Python 2.7/3.5 deprecation PR https://github.com/arrow-py/arrow/pull/800, we are adding type annotations. It would be nice to add a flake8 plugin that helps with annotations (e.g. reminds us to place them, static type checking, etc).

jadchaar commented 3 years ago

This is the flake8 package we want: https://pypi.org/project/flake8-annotations/.