HomePhabricator

commands: necessary annotations and assertions to pass pytype

Authored by mharbison72.

Description

commands: necessary annotations and assertions to pass pytype

This is a slightly less forceful incarnation of D7384, where pytype can be
appeased with some assertions rather than disabling warnings.

Differential Revision: https://phab.mercurial-scm.org/D10236