-
Notifications
You must be signed in to change notification settings - Fork 390
/
pyproject.toml
48 lines (41 loc) · 1.01 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
[build-system]
requires = [
"jupyter-packaging >= 0.10",
"setuptools >= 40.9.0",
"wheel",
]
build-backend = "setuptools.build_meta"
# black is used for autoformatting Python code
#
# ref: https://black.readthedocs.io/en/stable/
#
[tool.black]
# target-version should be all supported versions, see
# https://github.com/psf/black/issues/751#issuecomment-473066811
target-version = ["py38", "py39", "py310", "py311"]
# isort is used for autoformatting Python code
#
# ref: https://pycqa.github.io/isort/
#
[tool.isort]
profile = "black"
# pytest is used for running Python based tests
#
# ref: https://docs.pytest.org/en/stable/
#
[tool.pytest.ini_options]
addopts = "--verbose --color=yes --durations=10 --maxfail=2"
asyncio_mode = "auto"
testpaths = ["tests"]
timeout = "60"
# pytest-cov / coverage is used to measure code coverage of tests
#
# ref: https://coverage.readthedocs.io/en/stable/config.html
#
[tool.coverage.run]
omit = [
"binderhub/tests/*",
"binderhub/_version.py",
"versioneer.py",
]
parallel = true