-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (44 loc) · 1.12 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
[build-system]
requires = ["setuptools @ git+https://github.com/pypa/setuptools.git@main", "wheel"]
build-backend = "setuptools.build_meta"
# TODO: consider hatchling for built
[project]
name = "dkrz_cera"
description = "This package provides an interface to the CERA database of the DKRZ (Deutsches Klimarechenzentrum)."
authors = [
{name = "Markus Ritschel", email = "[email protected]"},
]
readme = "README.md"
license = {file = "LICENSE"}
dynamic = ["version"]
requires-python = ">= 3.10"
dependencies = []
[project.scripts]
dkrz-cera = "dkrz_cera.cli:main"
[tool.setuptools.dynamic]
version = {attr = "dkrz_cera.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.jupytext]
formats = "ipynb,py:percent,md:myst"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
"src",
]
addopts = [
# "--import-mode=importlib",
"--doctest-modules",
"--doctest-continue-on-failure",
"-ra -v",
"--cov=./src",
"--cov-report=xml",
"--cov-report=html",
"--cov-report=term-missing"
]
[tool.flake8]
max-line-length = 80
max-complexity = 10
[tool.cruft]
skip = [".git/"]