-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
123 lines (110 loc) · 3.19 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
[build-system]
# Minimum requirements for the build system to execute
requires = ["setuptools>64"]
build-backend = "setuptools.build_meta"
[project]
name = "pastastore"
dynamic = ["version"]
description = "Tools for managing Pastas time series models."
license = { file = "LICENSE" }
readme = "readme.md"
authors = [{ name = "D.A. Brakenhoff" }]
maintainers = [
{ name = "D.A. Brakenhoff", email = "[email protected]" },
{ name = "R. Calje", email = "[email protected]" },
{ name = "M.A. Vonk", email = "[email protected]" },
]
requires-python = ">= 3.10"
dependencies = ["pastas>=0.13", "tqdm>=4.36", "pyyaml"]
keywords = ["hydrology", "groundwater", "time series", "analysis", "database"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"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",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Hydrology",
]
[project.urls]
homepage = "https://github.com/pastas/pastastore"
repository = "https://github.com/pastas/pastastore"
documentation = "https://pastastore.readthedocs.io/en/latest/"
[project.optional-dependencies]
full = ["pastastore[arcticdb,optional]", "hydropandas"]
extensions = ["hydropandas"]
optional = ["contextily", "pyproj", "adjustText"]
arcticdb = ["arcticdb"]
lint = ["ruff"]
pytest = [
"coverage",
"codecov",
"pytest",
"pytest-cov",
"pytest-dependency",
"pytest-benchmark",
"codacy-coverage",
]
test = ["pastastore[arcticdb,lint,optional,pytest]", "hydropandas[full]"]
docs = [
"pastastore[optional]",
"sphinx_rtd_theme",
"Ipython",
"ipykernel",
"nbsphinx",
"nbsphinx_link",
]
[tool.setuptools.packages]
find = {}
[tool.setuptools.dynamic]
version = { attr = "pastastore.version.__version__" }
[tool.ruff]
line-length = 88
extend-include = ["*.ipynb"]
[tool.ruff.lint]
# See: https://docs.astral.sh/ruff/rules/
select = [
"C4", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PT", # pytest-style
"D", # pydocstyle
"B", # flake8-bugbear
"NPY", # numpy
]
[tool.ruff.format]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
addopts = "--durations=0 --cov-report xml:coverage.xml --cov pastastore -v"
markers = [
"bgmap: test tile download for background map",
"pastas150: tests only working for pastas>=1.5.0",
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = [
'matplotlib.*',
'scipy.stats.*',
'mypy-setuptools.*',
'mypy-pypandoc.*',
'mypy-numpy.*',
'mypy-pandas.*',
'mypy-art_tools.*',
'mypy-tqdm.*',
'mypy-pastas.*',
]
ignore_missing_imports = true