HomePhabricator

pytype: stop excluding upgrade.py

Authored by mharbison72.

Description

pytype: stop excluding upgrade.py

The sole failure here was this, which is fixed by simply creating a set like the
caller, instead of a dict:

File "/mnt/c/Users/Matt/hg/mercurial/upgrade.py", line 73, in upgraderepo:
    No attribute 'discard' on Dict[nothing, nothing] [attribute-error]
  In Union[Any, Dict[nothing, nothing]]

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

Details

Committed
mharbison72Dec 12 2021, 8:01 PM
Differential Revision
D11911: pytype: stop excluding upgrade.py
Parents
rHGb005d07ded7d: rhg: Skip reading the contents of ambiguous files in some cases
Branches
Unknown
Tags
Unknown