Mercurial > hg
view tests/test-locale.t @ 48284:9de0823705b4
typing: add more type hints to the errors module
These were found by looking for `Any` types in the generated `*.pyi` file after
running the tests. There are some more complicated types that I'm not sure of,
and am leaving untyped. I also can't figure out how to get `self.hint` to be
anything other than `Any` in most classes.
Differential Revision: https://phab.mercurial-scm.org/D11719
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 23 Oct 2021 17:13:57 -0400 |
parents | afcad425a0b6 |
children |
line wrap: on
line source
$ LANG=nonexistent LC_ALL=nonexistent LANGUAGE=nonexistent hg version -q Mercurial Distributed SCM (version *) (glob)