summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-05-08 13:03:15 -0700
committerDavid Lord <davidism@gmail.com>2021-05-08 13:03:15 -0700
commitbe15556dbaebc4ab45d3f5f5d34874279831103c (patch)
treea84a778972947c9b3f82ccf5ae6e7358984a9b4b /setup.cfg
parentac8d8d69fe3e0eb81251867218c67193a086e427 (diff)
downloadjinja2-be15556dbaebc4ab45d3f5f5d34874279831103c.tar.gz
add type annotations
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg12
1 files changed, 9 insertions, 3 deletions
diff --git a/setup.cfg b/setup.cfg
index acac7ca..a56d553 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -86,15 +86,21 @@ per-file-ignores =
files = src/jinja2
python_version = 3.6
disallow_subclassing_any = True
-# disallow_untyped_calls = True
-# disallow_untyped_defs = True
+disallow_untyped_calls = True
+disallow_untyped_defs = True
disallow_incomplete_defs = True
no_implicit_optional = True
local_partial_types = True
-# no_implicit_reexport = True
+no_implicit_reexport = True
strict_equality = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unused_ignores = True
warn_return_any = True
warn_unreachable = True
+
+[mypy-jinja2.defaults]
+no_implicit_reexport = False
+
+[mypy-markupsafe]
+no_implicit_reexport = False