mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-23 18:05:59 -05:00
Make scripts-dev pass mypy --disallow-untyped-defs (#12356)
Not enforced in config yet. One day.
This commit is contained in:
parent
6463244375
commit
30c8e7e408
9 changed files with 96 additions and 53 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue