-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (74 loc) · 1.67 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (74 loc) · 1.67 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = ["uv-build"]
build-backend = "uv_build"
[project]
version = "0.1.0"
name = "alc-aiidalab-widgets"
description = "Commonly used components for ALC managed AiiDAlab plugins"
authors = [
{ name = "Dr. Benjamin T. Speake", email = "benjamin.speake@stfc.ac.uk" },
]
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["aiida", "workflows", "ALC"]
classifiers = [
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Framework :: AiiDA",
"Development Status :: 3 - Alpha",
]
requires-python = ">=3.10"
dependencies = [
"aiidalab-widgets-base",
"ipywidgets",
"traitlets",
"aiida-core>=2.6",
"weas-widget",
"plotly",
]
[project.urls]
Source = "https://github.com/stfc/alc-aiidalab-widgets"
[dependency-groups]
docs = ["sphinx>=8.0.2", "sphinx-toolbox", "piccolo-theme"]
lint = ["ruff>=0.11.0"]
test = ["pytest>=8.0", "pytest-cov>=6.0"]
dev = [{ include-group = "lint" }, { include-group = "test" }, "pre-commit"]
[project.optional-dependencies]
[tool.ruff]
line-length = 88
indent-width = 4
exclude = ["docs/src/conf.py"]
[tool.ruff.lint.per-file-ignores]
[tool.ruff.lint]
select = [
# flake8-bugbear
"B",
# pylint
"C",
"R",
# pydocstyle
"D",
# pycodestyle
"E",
"W",
# Pyflakes
"F",
"FA",
# isort
"I",
# pep8-naming
"N",
# pyupgrade
"UP",
]
ignore = ["C901"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.pylint]
max-args = 10
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.coverage.run]
source = ["alc_aiidalab_widgets"]
omit = ["tests/*", "**/test_*.py"]