]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add mypy config for tests directory (#991)
authorFlorimond Manca <florimond.manca@gmail.com>
Mon, 25 May 2020 06:39:51 +0000 (08:39 +0200)
committerGitHub <noreply@github.com>
Mon, 25 May 2020 06:39:51 +0000 (08:39 +0200)
setup.cfg

index cdc17a44f0aeccdcd8bb6df4cacd7a4df9d9dedb..98fae653d8179e5be17fb0f99a33ee435c31dc82 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -6,6 +6,10 @@ max-line-length = 88
 disallow_untyped_defs = True
 ignore_missing_imports = True
 
+[mypy-tests.*]
+disallow_untyped_defs = False
+check_untyped_defs = True
+
 [tool:isort]
 combine_as_imports = True
 force_grid_wrap = 0