-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
42 lines (35 loc) · 921 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
42
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
testpaths = ["tests/"]
[tool.coverage.run]
source = ["vivarium_testing_utils"]
[tool.coverage.report]
show_missing = true
[tool.black]
line_length = 94
exclude = '''.*examples.*'''
[tool.isort]
line_length = 94
profile = "black"
multi_line_output = 3 # Vertical Hanging Indent, see https://pypi.org/project/isort/
skip_glob = ["*/examples/*", "**/examples/*"]
[tool.mypy]
# This is the global mypy configuration.
strict = true # See all the enabled flags `mypy --help | grep -A 10 'Strict mode'`
disallow_any_unimported = false
implicit_reexport = true
exclude = [
"build",
"setup.py",
"docs/source/conf.py",
]
# handle mypy errors when 3rd party packages are not typed.
[[tool.mypy.overrides]]
module = [
"py._path.local",
"scipy.*",
# "sklearn.*",
]
ignore_missing_imports = true