-
Notifications
You must be signed in to change notification settings - Fork 64
/
pyproject.toml
36 lines (33 loc) · 907 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.mypy]
mypy_path = "$MYPY_CONFIG_FILE_DIR/src"
# we may want to include tests eventually
exclude = "/tests/"
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
warn_return_any = true
[[tool.mypy.overrides]]
# strict config for fully typed modules and public API
module = [
"chameleon.exc.*",
"chameleon.utils.*",
"chameleon.zpt.loader.*",
"chameleon.zpt.template.*",
]
disallow_any_unimported = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
no_implicit_reexport = true
strict_equality = true
extra_checks = true
[[tool.mypy.overrides]]
module = ["zope.*"]
ignore_missing_imports = true