diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8d2a1c7..ead0243 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.8.6 + rev: v0.9.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/src/genomicranges/GenomicRanges.py b/src/genomicranges/GenomicRanges.py index cb24d47..a363276 100644 --- a/src/genomicranges/GenomicRanges.py +++ b/src/genomicranges/GenomicRanges.py @@ -1625,7 +1625,7 @@ def narrow( (in-place-modified) original. """ if start is not None and end is not None and width is not None: - raise ValueError("Only provide two of the three parameters - `start`, " "`end` and `width` but not all!") + raise ValueError("Only provide two of the three parameters - `start`, `end` and `width` but not all!") if width is not None: if start is None and end is None: