pytype: ignore some signature mismatch in configitems
pytype is grumpy about the dict.update having a more complex signature than the
one we use here.
pytype error:
itemregister: Overriding method signature mismatch [signature-mismatch]
Base signature: 'def builtins.dict.update(self) -> None'.
Subclass signature: 'def itemregister.update(self, other) -> Any'.
Parameter 'other' must have a default value.
--- a/mercurial/configitems.py Wed Dec 20 16:30:32 2023 +0100
+++ b/mercurial/configitems.py Tue Dec 19 21:26:30 2023 +0100
@@ -82,7 +82,7 @@
super(itemregister, self).__init__()
self._generics = set()
- def update(self, other):
+ def update(self, other): # pytype: disable=signature-mismatch
super(itemregister, self).update(other)
self._generics.update(other._generics)