( )⚙ D11206 typing: convert an annotation to an assertion in commands.py

This is an archive of the discontinued Mercurial Phabricator instance.

typing: convert an annotation to an assertion in commands.py
ClosedPublic

Authored by mharbison72 on Jul 21 2021, 4:07 PM.

Details

Summary

Pytype was happy with the annotation at one point, but 2021.04.15 now complains.

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

mharbison72 created this revision.Jul 21 2021, 4:07 PM
Alphare accepted this revision.Jul 22 2021, 12:01 PM
This revision is now accepted and ready to land.Jul 22 2021, 12:01 PM

I'm assuming both patches were intended for stable?