-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
51 lines (44 loc) · 1.57 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
[build-system]
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=3.1"]
build-backend = "jupyter_packaging.build_api"
[project]
name = "jupyterlab_accessible_themes"
requires-python = ">=3.8"
dynamic = ["version", "description", "readme", "license", "authors", "urls"]
[tool.jupyter-packaging.options]
ensured-targets = [
"jupyterlab_accessible_themes/labextensions/githubdark/static/style.js",
"jupyterlab_accessible_themes/labextensions/githubdark/package.json",
"jupyterlab_accessible_themes/labextensions/githublight/static/style.js",
"jupyterlab_accessible_themes/labextensions/githublight/package.json",
"jupyterlab_accessible_themes/labextensions/pitayasmoothie/static/style.js",
"jupyterlab_accessible_themes/labextensions/pitayasmoothie/package.json"
]
[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
[tool.jupyter-packaging.build-args]
build_cmd = "build"
npm = ["jlpm"]
[tool.check-manifest]
ignore = [
"jupyterlab_accessible_themes/labextensions/**",
"yarn.lock",
".*",
"package-lock.json"
]
[tool.ruff]
builtins = ["c"]
# E501 Line too long (158 > 100 characters)
# D400: First line should end with a period
# F401: Imported but unused
# F841: Local variable is assigned to but never used
ignore = ["D400", "E501"]
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
# A: builtins
# F: Pyflakes
# E,W: pycodestyle
# C4: flake8-comprehensions
# D: pydocstyle
select = ["A", "B", "C", "C4", "C9", "D", "E", "F", "W", "ICN"]
[tool.ruff.pydocstyle]
convention = "google" # Accepts: "google", "numpy", or "pep257".