Skip to content

Commit

Permalink
Update pre-commit hooks (#98)
Browse files Browse the repository at this point in the history
* Update pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.4](astral-sh/ruff-pre-commit@v0.8.3...v0.8.4)
- [github.com/executablebooks/mdformat: 0.7.19 → 0.7.21](hukkin/mdformat@0.7.19...0.7.21)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Dec 24, 2024
1 parent 1271261 commit 7707e2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: validate-pyproject

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3
rev: v0.8.4
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand All @@ -35,6 +35,6 @@ repos:
- black==22.12.0

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.19 # 0.7.19
rev: 0.7.21 # 0.7.19
hooks:
- id: mdformat
2 changes: 1 addition & 1 deletion src/ome_zarr_models/v04/image_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _parse_model(self) -> Label:

def _parse_imagelabel(model: Label) -> Label:
"""
check that label_values are consistent across properties and colors
Check that label_values are consistent across properties and colors
"""
if model.colors is not None and model.properties is not None:
prop_label_value = [prop.label_value for prop in model.properties]
Expand Down

0 comments on commit 7707e2b

Please sign in to comment.