Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…toolbox into multichannel-reading
  • Loading branch information
measty committed Aug 22, 2024
2 parents df5a59d + b0b1474 commit e342290
Show file tree
Hide file tree
Showing 18 changed files with 168 additions and 180 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
sudo apt update
sudo apt-get install -y libopenslide-dev openslide-tools libopenjp2-7 libopenjp2-tools
python -m pip install --upgrade pip
python -m pip install ruff==0.5.6 "pytest<8.3.0" pytest-cov pytest-runner
python -m pip install ruff==0.6.1 pytest pytest-cov pytest-runner
pip install -r requirements/requirements.txt
- name: Cache tiatoolbox static assets
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ repos:
- id: rst-inline-touching-normal # Detect mistake of inline code touching normal text in rst.
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.5.6
rev: v0.6.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
4 changes: 2 additions & 2 deletions requirements/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ mypy>=1.6.1
pip>=22.3
poetry-bumpversion>=0.3.1
pre-commit>=2.20.0
pytest>=7.2.0, <8.3.0
pytest>=7.2.0
pytest-cov>=4.0.0
pytest-runner>=6.0
pytest-xdist[psutil]
ruff==0.5.6 # This will be updated by pre-commit bot to latest version
ruff==0.6.1 # This will be updated by pre-commit bot to latest version
toml>=0.10.2
twine>=4.0.1
wheel>=0.37.1
2 changes: 1 addition & 1 deletion tests/test_annotation_stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def sample_triangle() -> Polygon:
return Polygon([(0, 0), (1, 1), (2, 0)])


@pytest.fixture()
@pytest.fixture
def fill_store(
cell_grid: list[Polygon],
points_grid: list[Point],
Expand Down
2 changes: 1 addition & 1 deletion tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from collections.abc import Generator


@pytest.fixture()
@pytest.fixture
def source_files(root_path: Path) -> Generator:
"""Recursively yield source files from the project."""
ignore = {"__pycache__"}
Expand Down
Loading

0 comments on commit e342290

Please sign in to comment.