Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 17, 2024
1 parent 22cab2d commit f3ef58d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 17 deletions.
42 changes: 25 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "ryan.abernathey@gmail.com"},
{ name = "Pangeo developers", email = "ryan.abernathey@gmail.com" },
]
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",
Expand All @@ -46,25 +53,26 @@ 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"
Expand Down
1 change: 1 addition & 0 deletions rechunker/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Top-level package for Zarr Rechunker."""

try:
from ._version import __version__ # type: ignore
except ImportError:
Expand Down
1 change: 1 addition & 0 deletions rechunker/algorithm.py
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
Expand Down
1 change: 1 addition & 0 deletions rechunker/api.py
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
Expand Down
1 change: 1 addition & 0 deletions rechunker/types.py
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,
Expand Down

0 comments on commit f3ef58d

Please sign in to comment.