forked from Deltares/hydromt_delft3dfm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
98 lines (88 loc) · 2.61 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
[build-system]
requires = ["flit_core >=3.4.0,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "hydromt_delft3dfm"
authors = [
{ name = "Rinske Hutten", email = "[email protected]" },
{ name = "Xiaohan Li", email = "[email protected]" },
{ name = "Hélène Boisgontier", email = "[email protected]" },
{ name = "Jelmer Veenstra", email = "[email protected]" },
]
dependencies = [
"hydromt >=0.9.0",
"geopandas >=0.10",
"numpy",
"pandas",
"xarray",
"hydrolib-core >=0.6.0",
"xugrid >=0.7.1",
"meshkernel >= 3.0.0",
"pyproj",
"shapely >=2.0.0",
"scipy",
"pyflwdir >=0.5.4",
"networkx",
]
requires-python = ">=3.9"
readme = "README.rst"
classifiers = [
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Hydrology",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dynamic = ['version', 'description']
[project.optional-dependencies]
dev = [
"black", # linting
"ruff", # linting
"pre-commit", # linting
"pip>=23.1.2", # needed for recursive dependencies
]
test = ["pytest>=2.7.3", "pytest-cov", "black"]
doc = [
"nbsphinx",
"sphinx",
"sphinx_design",
"pydata-sphinx-theme",
"sphinx_autosummary_accessors",
]
examples = [
"jupyterlab", # run examples in jupyter notebook
"notebook", # jupyter integration
"cartopy", # plot examples
]
[project.urls]
Documentation = "http://deltares.github.io/hydromt_delft3dfm/latest/"
Source = "https://github.com/Deltares/hydromt_delft3dfm"
[project.entry-points."hydromt.models"]
dflowfm = "hydromt_delft3dfm.dflowfm:DFlowFMModel"
[tool.black]
line-length = 88
target-version = ['py39']
[tool.ruff]
line-length = 88
# enable pydocstyle (E), pyflake (F) and isort (I), pytest-style (PT)
select = ["E", "F", "I", "PT", "D"]
ignore-init-module-imports = true
ignore = ["D211", "D213", "E741", "D105", "E712"]
exclude = ["examples", "tests", "docs"]
[tool.ruff.per-file-ignores]
"hydromt_delft3dfm/__init__.py" = ["E402", "F403"]
"hydromt_delft3dfm/workflows/__init__.py" = ["F403"]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.flit.sdist]
include = ["hydromt_delft3dfm"]
exclude = ["docs", "examples", "envs", "tests", ".github"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore:distutils Version classes are deprecated:DeprecationWarning",
]