Improve typing

Fix #1057
This commit is contained in:
Ran Benita
2023-04-18 23:06:34 +03:00
parent 5dfc590a8c
commit b78cf1c0ce
24 changed files with 858 additions and 477 deletions

View File

@@ -5,5 +5,5 @@ class MyWarning2(UserWarning):
pass
def generate_warning():
def generate_warning() -> None:
warnings.warn(MyWarning2("hello"))