( )⚙ D12351 check-code: remove ban on old-style classes

This is an archive of the discontinued Mercurial Phabricator instance.

check-code: remove ban on old-style classes
ClosedPublic

Authored by indygreg on Mar 3 2022, 10:31 PM.

Details

Summary

In Python 3, class foo: is equivalent to class foo(object):. So
we can allow the former form now.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

indygreg created this revision.Mar 3 2022, 10:31 PM
Alphare accepted this revision.Mar 8 2022, 4:47 AM
This revision is now accepted and ready to land.Mar 8 2022, 4:47 AM
This revision was automatically updated to reflect the committed changes.