[RFR] Flake8
[PRT] Backport improved and styled openupgrade_records module from 8.0