forked from Project-MONAI/MONAILabel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (41 loc) · 874 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
43
44
[build-system]
requires = [
"wheel",
"setuptools",
"torch>=1.5",
"ninja",
]
[tool.black]
line-length = 120
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
(
/(
# exclude a few common directories in the root of the project
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.pytype
| _build
| buck-out
| build
| dist
| plugins/ohif
)/
# also separately exclude a file named versioneer.py
| monailabel/_version.py
| plugins/ohif
)
'''
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "[%(threadName)s] [%(levelname)s] (%(name)s:%(lineno)d) %(message)s"
#log_file = "pytest.log"
#log_file_level = "INFO"
#log_file_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
#log_file_date_format = "%Y-%m-%d %H:%M:%S"