-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
140 lines (123 loc) · 2.94 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[build-system]
requires = [
"hatchling>=1.8.0",
"hatch-vcs",
]
build-backend = "hatchling.build"
[project]
requires-python = ">=3.8"
name = "finam_mhm"
description = "FINAM module for mHM."
authors = [{name = "FINAM Developers", email = "[email protected]"}]
readme = "README.md"
license = "LGPL-3.0"
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: Unix",
"Operating System :: Microsoft",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Topic :: Utilities",
]
dependencies = [
"numpy>=1.17.0",
"mhm>=5.13.1",
"finam>=0.5.1",
"f90nml",
]
[project.urls]
Homepage = "https://FINAM.pages.ufz.de/"
Documentation = "https://FINAM.pages.ufz.de/finam-mhm/"
Source = "https://git.ufz.de/FINAM/finam-mhm"
Tracker = "https://git.ufz.de/FINAM/finam-mhm/-/issues"
Changelog = "https://git.ufz.de/FINAM/finam-mhm/-/blob/main/CHANGELOG.md"
[project.optional-dependencies]
doc = [
"sphinx>=6",
"pydata-sphinx-theme==0.13",
"numpydoc>=1.1",
"sphinx-design>=0.4",
"myst-parser>=1.0",
"docutils>=0.18", # mdinclude with myst
]
test = ["pytest-cov>=3"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "vcs"
fallback_version = "0.0.0.dev0"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.build.hooks.vcs]
version-file = "src/finam_mhm/_version.py"
template = "__version__ = '{version}'"
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
]
[tool.hatch.build.targets.wheel]
packages = ["src/finam_mhm"]
[tool.black]
exclude = "_version.py"
target-version = [
"py38",
"py39"
]
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.coverage]
[tool.coverage.run]
source = ["finam"]
omit = [
"*docs*",
"*examples*",
"*tests*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
]
[tool.pylint]
[tool.pylint.master]
extension-pkg-whitelist = [
"numpy",
"scipy",
]
ignore = [
"_version.py",
]
[tool.pylint.message_control]
max-line-length = 120
disable = [
"C0103", # ignore invalid-names like "x", "y"
"C0415", # ignore defered imports
"R0801", # ignore code duplications
]
[tool.pylint.reports]
output-format = "colorized"
[tool.pylint.design]
max-args = 15
max-locals = 20
max-attributes = 20
max-parents = 10
min-public-methods = 0
max-branches=20