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

Commit

Permalink
Add missing types to test_state. (#14985)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Feb 6, 2023
1 parent 0f34abe commit d0fa217
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 62 deletions.
1 change: 1 addition & 0 deletions changelog.d/14985.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve type hints.
4 changes: 3 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ exclude = (?x)
|tests/module_api/test_api.py
|tests/rest/media/v1/test_media_storage.py
|tests/server.py
|tests/test_state.py
|tests/test_terms_auth.py
)$

Expand Down Expand Up @@ -117,6 +116,9 @@ disallow_untyped_defs = True
[mypy-tests.test_server]
disallow_untyped_defs = True

[mypy-tests.test_state]
disallow_untyped_defs = True

[mypy-tests.types.*]
disallow_untyped_defs = True

Expand Down
Loading

0 comments on commit d0fa217

Please sign in to comment.