I'm assuming the wrong-arg-count is a pytype bug, because this code is used by
the config object. Avoiding initializing _lrucachenode node points to None
eliminates a few is not None assertions, but apparently not all of them. I
can't figure out why it gets confused over the state where these new assertions
are.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG51841b23670b: typing: make minor adjustments to mercurial/util.py to pass pytype checking
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.