forked from mamba-org/quetz-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
30 lines (22 loc) · 1006 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
[build-system]
requires = ["jupyter_packaging~=0.10,<2"]
build-backend = "jupyter_packaging.build_api"
[tool.isort]
profile = "black"
[tool.jupyter-packaging.options]
skip-if-exists = ["quetz_frontend/app/static/style.js"]
ensured-targets = ["quetz_frontend/app/static/style.js", "quetz_frontend/app/static/package.json"]
[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
[tool.jupyter-packaging.build-args]
build_cmd = "build:prod"
npm = ["yarn"]
[tool.check-manifest]
ignore = ["builder/**", "examples/**", "packages/**", "quetz_frontend/app/static/**", "quetz_frontend/app/themes/**", "quetz_frontend/app/build/**", "quetz_frontend/app/style.js", "scripts/**", "environment.yml", "yarn.lock", ".*"]
[tool.jupyter-releaser.hooks]
before-bump-version = ["python -m pip install build", "yarn"]
before-build-npm = ["yarn", "yarn build:prod"]
[tool.jupyter-releaser.options]
version-cmd = "python scripts/bump-version.py --force"
[tool.check-wheel-contents]
ignore = ["W002"]