Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #121

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/python/black
rev: 23.1.0
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 3.7.9
rev: 7.1.1
hooks:
- id: flake8
language_version: python3
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
rev: v1.13.0
hooks:
- id: mypy
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "0.9.2"
rev: "v2.5.0"
hooks:
- id: pyproject-fmt
41 changes: 24 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,49 @@
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",
"Programming Language :: Python :: 3.13",
]
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 +54,24 @@ 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
Loading