-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
53 lines (43 loc) · 925 Bytes
/
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
[project]
name = "om3utils"
description = "TODO"
keywords = ["COSIMA", "access-om3", "ocean modeling"]
authors = [
{name = "Micael Oliveira"},
]
dynamic = ["version"]
dependencies = [
"f90nml",
"ruamel.yaml",
"xarray",
]
[external]
host-requires = [
"pkg:generic/libbabeltrace2",
]
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["om3utils"]
[tool.setuptools_scm]
write_to = "om3utils/_version.py"
[project.optional-dependencies]
devel = [
"flake8",
"black",
"pre-commit",
]
test = [
"pytest",
"pytest-cov",
]
[tool.pytest.ini_options]
addopts = ["--cov=om3utils", "--cov-report=term", "--cov-report=html", "--cov-report=xml"]
testpaths = ["tests"]
[tool.coverage.run]
omit = ["om3utils/__init__.py", "om3utils/_version.py"]
[tool.black]
line-length = 120
[tool.flake8]
max-line-length = 120