-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (82 loc) · 2.64 KB
/
pyproject.toml
File metadata and controls
91 lines (82 loc) · 2.64 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
88
89
90
91
[project]
name = "iconeval"
version = "0.10.0"
description = "Convenient evaluation of ICON model output with ESMValTool"
authors = [
{name = "Manuel Schlund", email = "manuel.schlund@dlr.de"},
{name = "Lisa Bock", email = "lisa.bock@dlr.de"},
]
readme = "README.md"
requires-python = ">=3.12"
keywords = ["ICON", "ESMValTool", "Earth System Model Evaluation"]
license = {file = "LICENSE"}
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering",
]
dependencies = [
"fire",
"loguru",
"prov",
"python-swiftclient",
"pyyaml",
"requests",
]
[project.optional-dependencies]
develop = [
"pre-commit",
"py-markdown-table",
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-xdist",
]
[project.scripts]
iconeval = "iconeval.main:main"
publish_html = "iconeval.output_handling.publish_html:main"
[tool.setuptools]
packages = ['iconeval']
[tool.codespell]
ignore-words-list = "emac,oce,pres"
[tool.pytest.ini_options]
addopts = ["-ra", "--strict-config", "--strict-markers"]
minversion = "6.0"
xfail_strict = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"C901", # Function is too complex
"DTZ", # Missing timezone information
"G004", # Logging statement uses f-string
"PLR0912", # Too many branches
"PLR0913", # Too many arguments in function definition
"PLR0915", # Too many statements
"PLW2901", # `for` loop variable overwritten by assignment target
]
future-annotations = true
[tool.ruff.lint.per-file-ignores]
"tests/**.py" = [
"ARG001", # Unused function arguments
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"FBT001", # Boolean-typed positional argument in function definition
"S101", # Use of `assert` detected
"SLF001", # Private member accessed
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"