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 #348

Merged
merged 3 commits into from
Feb 14, 2024
Merged
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ repos:
- id: seed-isort-config

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.2.0
hooks:
- id: black
args: [--target-version=py36]
Expand Down Expand Up @@ -45,7 +45,7 @@ repos:
- --autofix

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [
Expand All @@ -66,13 +66,13 @@ repos:
]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.8.0
hooks:
- id: mypy
args: [--config-file=mypy.ini]

- repo: https://github.com/adrienverge/yamllint.git
rev: v1.33.0
rev: v1.34.0
hooks:
- id: yamllint
# args: [--config-data=relaxed]
Expand Down
1 change: 1 addition & 0 deletions ome_zarr/axes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Axes class for validating and transforming axes
"""

from typing import Any, Dict, List, Union

from .format import CurrentFormat, Format
Expand Down
1 change: 1 addition & 0 deletions ome_zarr/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Entrypoint for the `ome_zarr` command-line tool."""

import argparse
import logging
import sys
Expand Down
1 change: 1 addition & 0 deletions ome_zarr/data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Functions for generating synthetic data."""

from random import randrange
from typing import Callable, List, Optional, Tuple, Union

Expand Down
2 changes: 2 additions & 0 deletions ome_zarr/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ def __init__(

@overload
def first(self, spectype: Type["Well"]) -> Optional["Well"]:
# Handled by the generic case
...

@overload
def first(self, spectype: Type["Plate"]) -> Optional["Plate"]:
# Handled by the generic case
...

def first(self, spectype: Type["Spec"]) -> Optional["Spec"]:
Expand Down
1 change: 1 addition & 0 deletions ome_zarr/scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

See the :class:`~ome_zarr.scale.Scaler` class for details.
"""

import inspect
import logging
import os
Expand Down
1 change: 1 addition & 0 deletions ome_zarr/writer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Image writer utility

"""

import logging
import warnings
from pathlib import Path
Expand Down
Loading