This is an archive of the discontinued Mercurial Phabricator instance.

hghave: add a check for pytype, Google's Python type checker
ClosedPublic

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

Details

Summary

I'm not unbiased, but I strongly prefer pytype to mypy: it does more
inference, so we don't need as many annontations. In theory we can use
both, but since I'm doing some tinkering with pytype I figured I'd
just try setting it up.

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:56 PM
indygreg accepted this revision.Nov 7 2019, 3:07 AM
This revision is now accepted and ready to land.Nov 7 2019, 3:07 AM