Skip to content

Commit

Permalink
Merge pull request #348 from ome/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
joshmoore authored Feb 14, 2024
2 parents 5a405be + 32a6129 commit ef54633
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
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

0 comments on commit ef54633

Please sign in to comment.