-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
109 lines (100 loc) · 2.3 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
[tool.poetry]
name = "hydrolib"
version = "0.3.1"
description = "HYDROLIB tools for hydrodynamic and hydrological modelling workflows"
authors = ["Deltares"]
maintainers = [
"Arthur van Dam <arthur.vandam@deltares.nl>",
"Ruud Hurkmans <r.hurkmans@hkv.nl>",
]
license = "LGPL"
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
pandas = "^1.2"
geopandas = "^0.13"
xarray = "^0.17"
hydrolib-core = "0.7.0"
matplotlib = "^3.5.2"
numpy = "^1.21"
openpyxl = "^3"
scipy = "^1.9"
tqdm = "^4.64.1"
rasterio = "^1.3.4"
llvmlite = "^0.39.1"
fiona = "^1.8"
netcdf4 = "1.6.4"
rasterstats = "^0.17.0"
jupyter = "^1.0.0"
contextily = "^1.0.1"
dask = "2023.5.0"
pyogrio = "^0.9.0"
shapely = "^2.0.2"
[tool.poetry.dev-dependencies]
pytest = "^6.2"
black = { version = "*", allow-prereleases = true }
isort = "^5.8"
mkdocs = "^1.1"
mkdocs-material = "^7.1"
mkdocstrings = "^0.15"
mkdocs-autorefs = "^0.1"
pytest-cov = "^2.11"
pymdown-extensions = "^8.1"
commitizen = "^2.17"
flake8 = "^3.9"
mypy = "^0.910"
devtools = "^0.6"
poetry2conda = "^0.3.0"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.3.1"
tag_format = "$version"
version_files = [
"hydrolib/post/__init__.py",
"pyproject.toml:version"
]
changelog_file = "docs/changelog.md"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py38', 'py39']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| \.virtualenvs
)/
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
[tool.poetry2conda]
name = "hydrolib"
[tool.poetry2conda.dependencies]
python = { channel = "conda-forge" }
pandas = { channel = "conda-forge" }
geopandas = { channel = "conda-forge" }
xarray = { channel = "conda-forge" }
hydrolib-core = { channel = "pip" }
shapely = { channel = "conda-forge" }
matplotlib = { channel = "conda-forge" }
numpy = { channel = "conda-forge" }
openpyxl = { channel = "conda-forge" }
scipy = { channel = "conda-forge" }
jupyter = { channel = "conda-forge" }
fiona = { channel = "conda-forge" }
contextily = { channel = "conda-forge" }
[tool.pytest.ini_options]
markers = "plot"