Skip to content
Snippets Groups Projects
Commit 1b17309cdaab authored by Matt Harbison's avatar Matt Harbison
Browse files

typing: make `unionrepository` subclass `localrepository` while type checking

This is the same change as 9d4ad05bc91c made for `bundlerepository`, for the
same reasons.

Also, add a comment here to suppress the PyCharm warning that the superclass
constructor is not called, that is new now that there's a simulated superclass.
That lack of a call is by design- `makeunionrepository()` does magic that
PyCharm isn't aware of.  But PyCharm has been better at catching problems than
pytype in a lot of cases, so I'd like to reduce the bogus things it flags, to
make the real issues stand out.
parent 0afd58c72175
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment