-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (52 loc) · 1.12 KB
/
pyproject.toml
File metadata and controls
61 lines (52 loc) · 1.12 KB
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
57
58
59
60
61
[build-system]
requires = ["hatchling", "hatch-build-scripts"]
build-backend = "hatchling.build"
[project]
name = "glue-solara"
description = "Flexible Solara based Glue UI"
version = "0.0.1"
dependencies = [
"solara>=1.40.0",
"glue-jupyter",
"ipypopout",
"ipyreact>=0.5.0",
]
[project.optional-dependencies]
dev = [
"pre-commit",
"mypy",
]
test = [
"pytest-ipywidgets",
"pytest-playwright<0.6", # pytest-playwright doesn't support newer versions, see https://github.com/widgetti/solara/issues/913
]
[tool.ruff]
fix = true
exclude = [
'.git',
'dist',
'.eggs',
]
line-length = 100
[tool.ruff.lint]
ignore = [
"E501", # line too long | Black take care of it
]
select = ["E", "W", "F", "Q", "I"]
[tool.black]
line-length = 100
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[[tool.mypy.overrides]]
module = "glue.*,glue_jupyter.*"
ignore_missing_imports = true
[[tool.hatch.build.hooks.build-scripts.scripts]]
work_dir = "./glue_solara/viewers/xr/js"
artifacts = [
"build/**",
]
out_dir = "./glue_solara/viewers/xr/js/build"
commands = [
"npm ci",
"npm run build"
]