Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#141)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.3](astral-sh/ruff-pre-commit@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>
  • Loading branch information
pre-commit-ci[bot] authored Jan 30, 2025
1 parent cdac5ac commit 1c613a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/genomicranges/GenomicRanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1c613a5

Please sign in to comment.