Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Finish typing test_descriptors.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed May 23, 2023
1 parent 5c612b6 commit ff66f02
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 79 deletions.
1 change: 1 addition & 0 deletions changelog.d/15659.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve type hints.
3 changes: 0 additions & 3 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ warn_unused_ignores = False
[mypy-synapse.util.caches.treecache]
disallow_untyped_defs = False

[mypy-tests.util.caches.test_descriptors]
disallow_untyped_defs = False

;; Dependencies without annotations
;; Before ignoring a module, check to see if type stubs are available.
;; The `typeshed` project maintains stubs here:
Expand Down
1 change: 0 additions & 1 deletion scripts-dev/mypy_synapse_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from mypy.types import CallableType, Instance, NoneType, UnionType



class SynapsePlugin(Plugin):
def get_method_signature_hook(
self, fullname: str
Expand Down
Loading

0 comments on commit ff66f02

Please sign in to comment.