-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
64 lines (55 loc) · 1.65 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
[build-system]
requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/ewatercycle_wflowjl/__init__.py"
[project]
name = "ewatercycle-wflowjl"
description = "Wflow.jl eWaterCycle plugin"
readme = "README.md"
license = "Apache-2.0"
authors = [
{ name = "Bart Schilperoort, Peter Kalverla, Stefan Verhoeven", email = "[email protected]" },
]
keywords = ["ewatercycle", "hydrology"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
]
dynamic = ["version"]
# Include here only the dependencies for the eWaterCycle wrapped model
dependencies = [
"ewatercycle>=2.0.0b2",
"grpc4bmi[julia]",
"toml",
]
[project.optional-dependencies]
dev = [
"hatch",
"ruff",
]
# This registers the plugin such that it is discoverable by eWaterCycle
[project.entry-points."ewatercycle.models"]
WflowJl = "ewatercycle_wflowjl.model:WflowJl"
[project.entry-points."ewatercycle.forcings"]
WflowJlForcing = "ewatercycle_wflow.forcing.forcing:WflowJlForcing"
[tool.ruff]
select = ["E", "F", "B", "D", "C90", "I", "N", "UP", "PLE", "PLR", "PLW"]
extend-select = ["D401", "D400", "D404", "TID252"]
ignore = [
"PLR2004",
"PLR0913",
"N813",
]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py310"
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.isort]
known-first-party = ["ewatercycle_wflow"]
force-single-line = true
lines-after-imports = 2