This repository was archived by the owner on Oct 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (75 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
84 lines (75 loc) · 1.39 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
[project]
dependencies = ["ampform"]
license = {file = "LICENSE"}
name = "ampform-475"
readme = "README.md"
requires-python = ">=3.12"
version = "0.0.1"
[dependency-groups]
dev = [
"ruff",
{include-group = "jupyter"},
{include-group = "lite"},
{include-group = "test"},
]
jupyter = [
"jupyterlab",
"jupyterlab-code-formatter",
"jupyterlab-git",
"jupyterlab-lsp",
"jupyterlab-quickopen",
"python-lsp-ruff",
"python-lsp-server[rope]",
]
lite = [
"jupyterlab",
"jupyterlab-lsp",
"jupyterlite-core",
"jupyterlite-pyodide-kernel",
"notebook",
"python-lsp-server[rope]",
]
test = ["nbmake"]
[tool.pytest.ini_options]
addopts = [
"--nbmake",
"--nbmake-timeout=0",
]
filterwarnings = [
"error",
]
norecursedirs = [
".ipynb_checkpoints",
".virtual_documents",
"lite",
]
[tool.ruff]
preview = true
show-fixes = true
[tool.ruff.format]
docstring-code-format = true
line-ending = "lf"
[tool.ruff.lint]
ignore = [
"COM812",
"D203",
"D213",
]
select = ["ALL"]
[tool.ruff.lint.flake8-builtins]
builtins-ignorelist = ["display"]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = [
"B018",
"CPY001",
"S101",
]
[tool.tomlsort]
all = false
ignore_case = true
in_place = true
sort_first = ["project"]
spaces_indent_inline_array = 4
trailing_comma_inline_array = true