-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
88 lines (80 loc) · 1.93 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
[project]
name = "intake-esgf"
description = "Programmatic access to the ESGF holdings"
readme = "README.md"
authors = [
{ name = "Nathan Collier", email = "[email protected]" }
]
classifiers = ["Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering"]
license = { file="LICENSE" }
requires-python = ">=3.10"
dependencies = [
"dask",
"globus-sdk",
"netcdf4",
"pandas",
"pyyaml",
"requests",
"tqdm",
"xarray",
]
dynamic=["version"]
[dependency-groups]
dev = [
"pytest-cov",
]
[project.optional-dependencies]
docs = [
"distributed",
"furo",
"ipywidgets",
"matplotlib",
"myst-nb",
"nc-time-axis",
"numpydoc",
"sphinx-autosummary-accessors",
"sphinx-copybutton",
]
notebook = [
"ipywidgets",
"tqdm[notebook]",
]
[build-system]
requires = ["setuptools", "setuptools_scm", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "no-guess-dev"
local_scheme = "node-and-date"
fallback_version = "0.0.0"
version_file = "intake_esgf/_version.py"
version_file_template = '__version__ = "{version}"'
[tool.pytest.ini_options]
console_output_style = "count"
addopts = "--cov=intake_esgf --cov-report=xml --verbose -m 'not globus_auth'"
markers = [
"globus_auth: tests which require globus authentication",
]
[tool.coverage.run]
omit = ["*/intake_esgf/tests/*"]
[tool.ruff]
target-version = "py310"
ignore = [
"E501", # let black worry about line length
]
select = [
"F", # Pyflakes
"E",
"W", # Pycodestyle
"I", # isort
"UP", # Pyupgrade
]
[tool.ruff.isort]
known-first-party = ["intake_esgf"]