Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#60)
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.4](astral-sh/ruff-pre-commit@v0.8.6...v0.9.4)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* disable pip cache

it's broken on windows

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and hynek authored Feb 4, 2025
1 parent 02ff6a0 commit c4280a5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ jobs:
persist-credentials: false
- uses: actions/setup-python@v5
with:
cache: pip
python-version-file: .python-version-default

- run: python -Im pip install -e .[dev]
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
3 changes: 1 addition & 2 deletions src/hatch_fancy_pypi_readme/_fragments.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ def from_config(cls, cfg: dict[str, str]) -> Fragment:
contents = m.group(1)
except IndexError:
errs.append(
"file fragment: pattern matches, but no group "
"defined."
"file fragment: pattern matches, but no group defined."
)

if errs:
Expand Down

0 comments on commit c4280a5

Please sign in to comment.