Mercurial > hg
comparison tests/test-annotate.py @ 51926:70fe33bdab54
typing: add type hints for the overloads of `matchmod.readpatternfile()`
The return type is conditional on an argument passed, and it very much confused
both pytype and PyCharm inside `dirstate._ignorefileandline()` after adding
type hints for the return value there.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Sep 2024 11:57:42 -0400 |
parents | 6000f5b25c9b |
children |
comparison
equal
deleted
inserted
replaced
51925:3a90a6fd710d | 51926:70fe33bdab54 |
---|