summary refs log tree commit diff
path: root/scripts-dev/sign_json.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-04-27 14:10:31 +0100
committerGitHub <noreply@github.com>2022-04-27 13:10:31 +0000
commit30c8e7e408322967e5beb2a64ef5f796cb8df226 (patch)
tree1d65d45fd7ddf5735c80282c62ae1cc5aae2b708 /scripts-dev/sign_json.py
parentRemove unused `# type: ignore`s (#12531) (diff)
downloadsynapse-30c8e7e408322967e5beb2a64ef5f796cb8df226.tar.xz
Make `scripts-dev` pass `mypy --disallow-untyped-defs` (#12356)
Not enforced in config yet. One day.
Diffstat (limited to 'scripts-dev/sign_json.py')
-rwxr-xr-xscripts-dev/sign_json.py2
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.