-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
56 lines (50 loc) · 1.27 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
[build-system]
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=3.1", "setuptools>=40.8.0", "wheel"]
build-backend = "jupyter_packaging.build_api"
[tool.black]
line-length = 88
target-version = [
'py36',
'py37',
'py38',
'py39',
]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| yt/frontends/stream/sample_data
)/
| yt/visualization/_colormap_data.py
'''
[tool.isort]
profile = "black"
combine_as_imports = true
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
# The -s option prevents pytest from capturing output sent to stdout
# -v runs pytest in verbose mode
# -rsfE: The -r tells pytest to provide extra test summary info on the events
# specified by the characters following the r. s: skipped, f: failed, E: error
[tool.pytest.ini_options]
addopts = '''
-s
-v
-rsfE
'''
[tool.jupyter-packaging.options]
skip-if-exists = ["jupyterlab_dosbox/labextension/static/style.js"]
ensured-targets = ["jupyterlab_dosbox/labextension/static/style.js", "jupyterlab_dosbox/labextension/package.json"]
[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
[tool.jupyter-packaging.build-args]
build_cmd = "build:prod"
npm = ["jlpm"]