Move R0921,R0922 overrides to top level

They don't seem to work in the py file itself and now there is another
place where this causes false positive (base class for machine
translations).