-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
146 lines (131 loc) · 3.07 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
141
142
143
144
145
146
[build-system]
requires = [
"setuptools>=61",
]
build-backend = "setuptools.build_meta"
[project]
name = "flood-adapt"
description = "A software package support system which can be used to assess the benefits and costs of flood resilience measures"
readme = "README.md"
authors = [
{ name = "Gundula Winter", email = "Gundula.Winter@deltares.nl" },
{ name = "Panos Athanasiou", email = "Panos.Athanasiou@deltares.nl" },
{ name = "Frederique de Groen", email = "Frederique.deGroen@deltares.nl" },
{ name = "Tim de Wilde", email = "Tim.deWilde@deltares.nl" },
{ name = "Julian Hofer", email = "Julian.Hofer@deltares.nl" },
{ name = "Daley Adrichem", email = "Daley.Adrichem@deltares.nl" },
{ name = "Luuk Blom", email = "Luuk.Blom@deltares.nl" },
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"Topic :: Scientific/Engineering :: Hydrology",
]
requires-python = ">=3.8"
dependencies = [
"cht-cyclones@ git+https://github.com/deltares/cht_cyclones.git",
"cht-meteo",
"cht-observations@ git+https://github.com/deltares/cht_observations.git",
"cht-tide",
"dask<2024.7.0", # The last version that still supports pandas 1.x, which we need until fiat-toolbox and noaa_cops become compatible with pandas 2.x
"fiat-toolbox",
"geojson",
"geopandas",
"hydromt-fiat@ git+https://github.com/deltares/hydromt_fiat.git",
"hydromt-sfincs@ git+https://github.com/Deltares-research/hydromt_sfincs_insiders.git@FA_quadtree",
"numpy < 2.0",
"numpy-financial",
"pandas",
"plotly",
"pydantic",
"pydantic-settings",
"pyogrio",
"tomli",
"tomli-w",
]
dynamic = [
"version",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pre-commit == 3.8.0",
"ruff == 0.5.5",
"typos == 1.23.6",
]
build = [
"build",
"twine",
]
docs = [
"jupyter",
"jupyter-cache",
"matplotlib",
"quartodoc",
"regex",
]
all = [
"flood-adapt[build,dev,docs]",
]
[project.urls]
Source = "https://github.com/Deltares-research/FloodAdapt"
[tool.setuptools]
zip-safe = false
[tool.setuptools.dynamic.version]
attr = "flood_adapt.__version__"
[tool.setuptools.packages.find]
include = [
"flood_adapt",
"flood_adapt.*",
]
[tool.setuptools.package-data]
flood_adapt = [
"py.typed",
# "system/**", uncomment when other os are supported as well
]
[tool.ruff]
line-length = 88
indent-width = 4
[tool.ruff.format]
docstring-code-format = true
indent-style = "space"
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
select = [
"D",
"E",
"F",
"NPY",
"PD",
"C4",
"I",
]
ignore = [
"D10",
"D417",
"PD010",
"PD013",
"PD901",
"E501",
"E741",
"NPY201"
]
fixable = [
"I",
"F",
"D"
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pyright]
reportDeprecated = true
[tool.typos]
files.extend-exclude = [
"*.js",
"*.css",
"*.svg",
]
files.ignore-hidden = true
[tool.typos.default.extend-words]
strat = "strat"