This is an archive of the discontinued Mercurial Phabricator instance.

pytype: don't warn us about ignored-on-py3 metaclasses
ClosedPublic

Authored by durin42 on Nov 6 2019, 5:57 PM.

Details

Summary

We can remove this when we're Python 3-only, but for now it's just too
awkward to deal with and it's harmless.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Nov 6 2019, 5:57 PM
indygreg accepted this revision.Nov 7 2019, 3:11 AM
indygreg added a subscriber: indygreg.

I wonder if we should adopt a convention like # TODO nopy2 XXX to denote things to fix when Python 2 support is ripped out. Otherwise I feel like we're going to forget to undo many of these hacks. (I should have suggested this months ago because there will be lingering signs of Python 2 for years to come, I fear.)

This revision is now accepted and ready to land.Nov 7 2019, 3:11 AM
This revision was automatically updated to reflect the committed changes.