Skip to content

Commit

Permalink
MAINT: pre-commit autoupdate 2024-07-31 (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Aug 2, 2024
1 parent 9baeb2b commit 9df4ffd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand All @@ -21,12 +21,12 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.5
rev: v0.5.5
hooks:
- id: ruff
args: [--fix, --show-fixes, --output-format, grouped]
- repo: https://github.com/fsfe/reuse-tool
rev: v2.1.0
rev: v4.0.3
hooks:
- id: reuse
name: add SPDX headers
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ strict = true

[tool.ruff]
line-length = 127
extend-ignore = [
lint.extend-ignore = [
'B019',
]
select = [
lint.select = [
'B', # flake8-bugbear
'C4', # flake8-comprehensions
'E', # pycodestyle
Expand Down
2 changes: 1 addition & 1 deletion tests/test_editable.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def test_editable_rebuild(package_purelib_and_platlib, tmp_path, verbose, args):
# Importing again should result in no output.
stdout = io.StringIO()
with redirect_stdout(stdout):
import pure # noqa: F401, F811
import pure # noqa: F401
assert stdout.getvalue() == ''

finally:
Expand Down

0 comments on commit 9df4ffd

Please sign in to comment.