-
Notifications
You must be signed in to change notification settings - Fork 41
/
pyproject.toml
78 lines (68 loc) · 1.64 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "dataretrieval"
description = "Discover and retrieve water data from U.S. federal hydrologic web services."
readme = "README.md"
requires-python = ">=3.8"
keywords = ["USGS", "water data"]
license = {file = "LICENSE.md"}
authors = [
{name = "Timothy Hodson", email = "thodson@usgs.gov"},
]
maintainers = [
{name = "Elise Hinman", email = "ehinman@usgs.gov"},
]
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"requests",
"pandas==2.*",
]
dynamic = ["version"]
[tool.setuptools]
packages = ["dataretrieval", "dataretrieval.codes"]
[project.optional-dependencies]
test = [
"pytest > 5.0.0",
"pytest-cov[all]",
"coverage",
"requests-mock",
"flake8",
]
doc = [
"sphinx",
"sphinx-rtd-theme",
"nbsphinx",
"nbsphinx_link",
"ipython",
"ipykernel",
"matplotlib",
]
nldi = [
'geopandas>=0.10'
]
[project.urls]
homepage = "https://github.com/DOI-USGS/dataretrieval-python"
documentation = "https://doi-usgs.github.io/dataretrieval-python/"
repository = "https://github.com/DOI-USGS/dataretrieval-python.git"
[tool.setuptools_scm]
write_to = "dataretrieval/_version.py"
[tool.isort]
profile = "black"
[tool.black]
skip-string-normalization = true
[tool.ruff.format]
quote-style = "double"
docstring-code-format = true
docstring-code-line-length = 72
[tool.ruff.lint]
preview = true
# Default ["E4", "E7", "E9", and "F"] --> Pyflakes ("F") and pycodestyle ("E")
extend-select = [
"B", "I", "Q",
"W291", "W292", "W293", "W605",
"E231", "E252", "E261", "E262", "E303", "E501",
]