-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
41 lines (37 loc) · 879 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
37
38
39
40
41
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.black]
verbose = true
color = true
target_version = ["py39"]
line_length = 88
[tool.isort]
verbose = true
profile = "black"
skip_gitignore = true
line_length = 88
[tool.mypy]
plugins = ["numpy.typing.mypy_plugin"]
cache_dir = "~/.cache/mypy"
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
strict_equality = true
[tool.pytest.ini_options]
cache_dir = "~/.cache/pytest"
addopts = "-ra --verbose --color=yes"
testpaths = ["test/unit_tests"]