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

Commit

Permalink
Add type hints to test_descriptors. (#15659)
Browse files Browse the repository at this point in the history
Require type hints in test_descriptors and add missing ones.
  • Loading branch information
clokep committed May 24, 2023
1 parent c7e9c1d commit ca5c4be
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 96 deletions.
1 change: 1 addition & 0 deletions changelog.d/15659.misc
@@ -0,0 +1 @@
Improve type hints.
3 changes: 0 additions & 3 deletions mypy.ini
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

0 comments on commit ca5c4be

Please sign in to comment.