-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
c99da29
commit 79059e4
Showing
5 changed files
with
29 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,41 +2,48 @@ | |
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=42", | ||
"setuptools_scm[toml]>=3.4", | ||
"setuptools-scm[toml]>=3.4", | ||
"wheel", | ||
] | ||
|
||
[project] | ||
name = "rechunker" | ||
description = "A library for rechunking arrays" | ||
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
license = { file = "LICENSE" } | ||
authors = [ | ||
{name = "Pangeo developers", email = "[email protected]"}, | ||
{ name = "Pangeo developers", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
dynamic = [ | ||
"version", | ||
] | ||
dependencies = [ | ||
"dask[array,diagnostics]", | ||
"mypy_extensions", | ||
"mypy-extensions", | ||
"zarr>=2.11", | ||
] | ||
[project.optional-dependencies] | ||
complete = [ | ||
"apache_beam", | ||
optional-dependencies.complete = [ | ||
"apache-beam", | ||
"fsspec", | ||
"prefect<2", | ||
"pyyaml", | ||
"xarray>=2022.3", | ||
] | ||
dev = [ | ||
optional-dependencies.dev = [ | ||
"black", | ||
"codecov", | ||
"flake8", | ||
"hypothesis", | ||
"IPython", | ||
"ipython", | ||
"mypy==0.782", | ||
"nbsphinx", | ||
"numpydoc", | ||
|
@@ -46,25 +53,25 @@ dev = [ | |
"sphinx-pangeo-theme", | ||
"sphinxcontrib-srclinks", | ||
] | ||
docs = [ | ||
"IPython", | ||
optional-dependencies.docs = [ | ||
"ipython", | ||
"nbsphinx", | ||
"numpydoc", | ||
"sphinx", | ||
"sphinx-pangeo-theme", | ||
"sphinxcontrib-srclinks", | ||
] | ||
test = [ | ||
optional-dependencies.test = [ | ||
"hypothesis", | ||
"pytest", | ||
] | ||
[project.urls] | ||
documentation = "https://rechunker.readthedocs.io" | ||
homepage = "https://pypi.org/project/rechunker/" | ||
repository = "https://github.com/pangeo-data/rechunker" | ||
|
||
urls.documentation = "https://rechunker.readthedocs.io" | ||
urls.homepage = "https://pypi.org/project/rechunker/" | ||
urls.repository = "https://github.com/pangeo-data/rechunker" | ||
[tool.setuptools] | ||
packages = ["rechunker"] | ||
packages = [ | ||
"rechunker", | ||
] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "rechunker/_version.py" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Core rechunking algorithm stuff.""" | ||
|
||
import logging | ||
import warnings | ||
from math import ceil, floor, prod | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""User-facing functions.""" | ||
|
||
import html | ||
import textwrap | ||
from collections import defaultdict | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Types definitions used by executors.""" | ||
|
||
from dataclasses import dataclass | ||
from typing import ( | ||
Any, | ||
|