diff options
author | David Lord <davidism@gmail.com> | 2021-02-24 10:03:58 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-02-24 10:03:58 -0800 |
commit | c9ad9927d11f690a1572cfd399f12ec12edbc90f (patch) | |
tree | 0fd39319e6d819a9cc79489ebf007005add43b28 | |
parent | 315f480df2de894f2f3faadb885091f9e21aebc1 (diff) | |
download | markupsafe-c9ad9927d11f690a1572cfd399f12ec12edbc90f.tar.gz |
consistent typing config
-rw-r--r-- | MANIFEST.in | 1 | ||||
-rw-r--r-- | setup.cfg | 27 |
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 @@ -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 |