-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathpyproject.toml
137 lines (122 loc) · 2.57 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
license-files = { paths = ["License.txt"] }
[tool.hatch.build.targets.sdist]
exclude = [
"notebooks",
"tests",
"images",
".github",
"docs",
".devcontainer",
"*.md",
"*.txt",
".gitattributes",
]
[project]
name = "mikeio"
version = "2.4.0"
dependencies = [
"mikecore>=0.2.1",
"numpy>=1.22.0",
"pandas>=1.3",
"matplotlib>=3.6.0",
"scipy>=1.0",
"PyYAML",
"tqdm",
"xarray",
]
authors = [
{ name = "Henrik Andersson", email = "[email protected]" },
{ name = "Jesper Sandvig Mariegaard", email = "[email protected]" },
]
description = "A package that uses the DHI dfs libraries to create, write and read dfs and mesh files."
license = "BSD-3-Clause"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
[project.optional-dependencies]
dev = [
"pytest",
"quarto-cli",
"quartodoc==0.9.1",
"shapely",
"pyproj",
"xarray",
"netcdf4",
"rasterio",
"polars",
"ruff==0.6.2",
"mypy==1.11.1",
]
test = [
"pytest",
"pytest-cov",
"xarray",
"mypy==1.11.1",
"shapely",
"pyproj",
"polars",
]
notebooks = [
"nbformat",
"nbconvert",
"jupyter",
"xarray",
"netcdf4",
"rasterio",
"geopandas",
"scikit-learn",
"matplotlib",
"folium",
"mapclassify",
]
[project.urls]
"Homepage" = "https://github.com/DHI/mikeio"
"Bug Tracker" = "https://github.com/DHI/mikeio/issues"
[tool.ruff.lint]
# ignore long lines
ignore = ["E501", "E741"]
select = [
# ruff defaults
"E4",
"E7",
"E9",
"F",
# ruff defaults
"D100",
"D101",
"D102",
"D103",
"D202",
"D212",
"D413",
"D415",
"D417",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
"notebooks/*" = ["D", "E402"]
"conftest.py" = ["D"]
[tool.mypy]
python_version = "3.10"
warn_return_any = false
allow_redefinition = true
warn_unreachable = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["pandas", "mikecore.*", "tqdm", "scipy.*", "shapely.*", "yaml.*"]