as found by ./sage -tox -e relint
... except for src/sage/rings/tests.py
Component: refactoring
Author: Matthias Koeppe
Branch/Commit: eecd577
Reviewer: Kwankyu Lee, Guillermo Moreno-Socías
Issue created by migration from https://trac.sagemath.org/ticket/34189