]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add mypy flags (#2472)
authorAdrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
Tue, 29 Nov 2022 16:46:00 +0000 (10:46 -0600)
committerGitHub <noreply@github.com>
Tue, 29 Nov 2022 16:46:00 +0000 (16:46 +0000)
setup.cfg

index 671b0812456f68db3b65069c4655ab700994c002..27f18be4ccac01e0a196f8081f62a211791ffb59 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,6 +8,12 @@ disallow_any_generics = True
 ignore_missing_imports = True
 no_implicit_optional = True
 show_error_codes = True
+warn_unused_configs = True
+disallow_subclassing_any = True
+check_untyped_defs = True
+disallow_untyped_decorators = True
+warn_redundant_casts = True
+strict_concatenate = True
 
 [mypy-tests.*]
 disallow_untyped_defs = False