Skip to content

Commit

Permalink
Merge pull request #70 from fmi-faim/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
imagejan authored Oct 9, 2024
2 parents e0ae7ca + b64fc36 commit 7ff3b33
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ ci:
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.3.5'
rev: 'v0.6.3'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/fsfe/reuse-tool
rev: v3.0.1
rev: v4.0.3
hooks:
- id: reuse
1 change: 1 addition & 0 deletions scripts/searchfirst.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"""SearchFirst script to run a simple segmentation."""

import typer

from faim_wako_searchfirst.main import run


Expand Down
1 change: 1 addition & 0 deletions tests/test_cellpose.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from pathlib import Path

import pytest

from faim_wako_searchfirst.main import run


Expand Down
3 changes: 2 additions & 1 deletion tests/test_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@

import numpy as np
import pytest
from faim_wako_searchfirst.filter import border, dilate, feature
from skimage.io import imread

from faim_wako_searchfirst.filter import border, dilate, feature


@pytest.fixture
def _label_image():
Expand Down
3 changes: 2 additions & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
import numpy as np
import pandas as pd
import pytest
from skimage.io import imread

from faim_wako_searchfirst.filter import area, bounding_box, solidity
from faim_wako_searchfirst.main import run
from faim_wako_searchfirst.sample import centers, dense_grid, grid_overlap
from faim_wako_searchfirst.segment import threshold
from skimage.io import imread


@pytest.fixture
Expand Down
3 changes: 2 additions & 1 deletion tests/test_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@

import pandas as pd
import pytest
from faim_wako_searchfirst.sample import object_centered_grid, region_centered_grid
from skimage.io import imread

from faim_wako_searchfirst.sample import object_centered_grid, region_centered_grid


@pytest.fixture
def _label_image():
Expand Down

0 comments on commit 7ff3b33

Please sign in to comment.