diff options
author | David Lord <davidism@gmail.com> | 2021-05-08 13:03:15 -0700 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-05-08 13:03:15 -0700 |
commit | be15556dbaebc4ab45d3f5f5d34874279831103c (patch) | |
tree | a84a778972947c9b3f82ccf5ae6e7358984a9b4b /setup.cfg | |
parent | ac8d8d69fe3e0eb81251867218c67193a086e427 (diff) | |
download | jinja2-be15556dbaebc4ab45d3f5f5d34874279831103c.tar.gz |
add type annotations
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 |