diff options
author | David Robertson <davidr@element.io> | 2022-04-27 14:10:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 13:10:31 +0000 |
commit | 30c8e7e408322967e5beb2a64ef5f796cb8df226 (patch) | |
tree | 1d65d45fd7ddf5735c80282c62ae1cc5aae2b708 /scripts-dev/sign_json.py | |
parent | Remove unused `# type: ignore`s (#12531) (diff) | |
download | synapse-30c8e7e408322967e5beb2a64ef5f796cb8df226.tar.xz |
Make `scripts-dev` pass `mypy --disallow-untyped-defs` (#12356)
Not enforced in config yet. One day.
Diffstat (limited to '')
-rwxr-xr-x | scripts-dev/sign_json.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/sign_json.py b/scripts-dev/sign_json.py index 9459543106..bb217799fb 100755 --- a/scripts-dev/sign_json.py +++ b/scripts-dev/sign_json.py @@ -27,7 +27,7 @@ from synapse.crypto.event_signing import add_hashes_and_signatures from synapse.util import json_encoder -def main(): +def main() -> None: parser = argparse.ArgumentParser( description="""Adds a signature to a JSON object. |