-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (54 loc) · 1.16 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.bandit]
skips = ["B101"]
[tool.pytest.ini_options]
log_level = "INFO"
testpaths = ["tests"]
norecursedirs = [
"*.egg",
".git",
".*",
"_*"
]
[tool.coverage.run]
source = ["privatim"]
omit = [
"privatim/pshell.py",
"privatim/types.py",
"privatim/*/types.py"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pragma: unreachable",
"assert_never[(]",
"@overload",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"if __name__ == .__main__."
]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = false
namespace_packages = true
disallow_any_generics = true
disallow_untyped_defs = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
plugins = ["mypy_zope.plugin"]
exclude = "/(static/.+)/"
mypy_path = "$MYPY_CONFIG_FILE_DIR/src:$MYPY_CONFIG_FILE_DIR/stubs"
[[tool.mypy.overrides]]
module = [
"alembic.*",
"plaster.*",
"pyramid.*",
"pyramid.i18n.*",
"pyramid_beaker.*",
"pyramid_layout.*",
]
ignore_missing_imports = true
disallow_untyped_defs = false