From 1c613a5182ef22b70204b8aed20c94e1f50f1975 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 30 Jan 2025 08:48:46 -0800 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#141) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.3) * [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> --- .pre-commit-config.yaml | 2 +- src/genomicranges/GenomicRanges.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: