-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
59 lines (49 loc) · 1.01 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
52
53
54
55
56
57
58
59
[project]
name = "epoch_containers"
dynamic = ["version"]
readme = "README.md"
authors = [
{name = "Liam Pattinson", email = "[email protected]"}
]
license = {file = "LICENSE"}
requires-python = ">=3.10"
[project.optional-dependencies]
test = [
"pytest",
"pytest-sugar",
]
lint = [
"black",
"docformatter",
"isort",
"ruff",
"refurb",
]
typing = [
"mypy",
]
[project.scripts]
build_epoch = "epoch_containers.build_epoch:main"
run_epoch = "epoch_containers.run_epoch:main"
[build-system]
requires = ["setuptools >= 65", "setuptools_scm >= 8.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/epoch_containers/_version.py"
fallback_version = "0.1.0"
[tool.black]
exclude = "_version.py"
[tool.isort]
profile = "black"
[tool.ruff]
select = ["E", "F", "W", "RUF"]
ignore-init-module-imports = true
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[tool.docformatter]
black = true
recursive = true