Revert "Update mypy and mypy-zope (#13925)"

This reverts commit 6d543d6d9f.
This commit is contained in:
David Robertson 2022-09-30 16:37:48 +01:00
parent 6d543d6d9f
commit 8e52cb0bce
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD
10 changed files with 67 additions and 60 deletions

View file

@ -98,7 +98,9 @@ def register_sighup(func: Callable[P, None], *args: P.args, **kwargs: P.kwargs)
func: Function to be called when sent a SIGHUP signal.
*args, **kwargs: args and kwargs to be passed to the target function.
"""
_sighup_callbacks.append((func, args, kwargs))
# This type-ignore should be redundant once we use a mypy release with
# https://github.com/python/mypy/pull/12668.
_sighup_callbacks.append((func, args, kwargs)) # type: ignore[arg-type]
def start_worker_reactor(