Introduce pyupgrade
Todos
-
Introduce pyupgrade
hook: -
Issue with await
inf-string
:- With Py3.6 checks as minimum: Not possible, requires Py3.7.
- https://github.com/asottile/pyupgrade/issues/481
- Run with
--py36-plus
, removeawait
inf-string
changes, run hook with--py3-plus
. - Fixed with pyupgrade v2.20.1, v2.21.0
-
Apply pyupgrade
to Python files insilkaj
andtests
folders -
Add pyupgrade
job based onpre-commit
Edited by Moul