style: add pyupgrade check, 2.7+
5 files changed