summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MANIFEST.in1
-rw-r--r--setup.cfg27
2 files changed, 15 insertions, 13 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index a3ee780..7dfa3f6 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -5,4 +5,5 @@ graft docs
prune docs/_build
graft tests
include src/markupsafe/py.typed
+include src/markupsafe/*.pyi
global-exclude *.pyc
diff --git a/setup.cfg b/setup.cfg
index f2cd899..2591866 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -75,16 +75,17 @@ max-line-length = 80
[mypy]
files = src/markupsafe
-disallow_subclassing_any = 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
-strict_equality = true
-warn_redundant_casts = true
-warn_unused_configs = true
-warn_unused_ignores = true
-warn_return_any = true
-warn_unreachable = true
+python_version = 3.6
+disallow_subclassing_any = 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
+strict_equality = True
+warn_redundant_casts = True
+warn_unused_configs = True
+warn_unused_ignores = True
+warn_return_any = True
+warn_unreachable = True