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

Open
wants to merge 2 commits into
base: main
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: debug-statements
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.28.3"
rev: "0.31.0"
hooks:
- id: check-github-workflows
- repo: https://github.com/pre-commit/mirrors-prettier
Expand All @@ -18,17 +18,17 @@ repos:
# https://prettier.io for list). Add other types here.
types_or: [yaml, json]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.4"
rev: "v0.9.3"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.10.0"
rev: "v1.14.1"
hooks:
- id: mypy
additional_dependencies: ["types-toml"]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.40.0
rev: v0.44.0
hooks:
- id: markdownlint-fix
6 changes: 3 additions & 3 deletions bubble_analyser/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ def final_circles_filtering(
return imgRGB_overlay, labels, circle_properties


def pre_processing() -> (
tuple[npt.NDArray[np.int_], npt.NDArray[np.int_], Config, float, float]
):
def pre_processing() -> tuple[
npt.NDArray[np.int_], npt.NDArray[np.int_], Config, float, float
]:
"""Run the default image processing routine.

This function loads the configuration parameters from the TOML file, calculates the
Expand Down
Loading