You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since flake8 v6.0.0, some valid python syntax is flagged which causes workflows to fail. Specifically type hints comments, which are valid in all current versions of python according to PEP 0484. This is all thanks to this pull in pyflakes, PyCQA/pyflakes#684
Unfortunately several of our projects require support of Python 2.7 so cannot just switch to new type hint annotations. Seems like a hasty and poorly thought out decision to completely drop support for something that is valid and acceptable syntax.
Perhaps some better options:
Qodana can be used to run jetbrains (pycharm) inspections from github workflows. Python is in early access stage.
.github/.github/workflows/python-flake8.yml
Line 23 in 89b1a3d
Since flake8 v6.0.0, some valid python syntax is flagged which causes workflows to fail. Specifically type hints comments, which are valid in all current versions of python according to PEP 0484. This is all thanks to this pull in pyflakes, PyCQA/pyflakes#684
Unfortunately several of our projects require support of Python 2.7 so cannot just switch to new type hint annotations. Seems like a hasty and poorly thought out decision to completely drop support for something that is valid and acceptable syntax.
Perhaps some better options:
The text was updated successfully, but these errors were encountered: