Skip to content

Commit 9df4ffd

Browse files
authored
MAINT: pre-commit autoupdate 2024-07-31 (#651)
1 parent 9baeb2b commit 9df4ffd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88

99
repos:
1010
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v4.5.0
11+
rev: v4.6.0
1212
hooks:
1313
- id: check-ast
1414
- id: check-builtin-literals
@@ -21,12 +21,12 @@ repos:
2121
- id: end-of-file-fixer
2222
- id: trailing-whitespace
2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: v0.1.5
24+
rev: v0.5.5
2525
hooks:
2626
- id: ruff
2727
args: [--fix, --show-fixes, --output-format, grouped]
2828
- repo: https://github.com/fsfe/reuse-tool
29-
rev: v2.1.0
29+
rev: v4.0.3
3030
hooks:
3131
- id: reuse
3232
name: add SPDX headers

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ strict = true
7777

7878
[tool.ruff]
7979
line-length = 127
80-
extend-ignore = [
80+
lint.extend-ignore = [
8181
'B019',
8282
]
83-
select = [
83+
lint.select = [
8484
'B', # flake8-bugbear
8585
'C4', # flake8-comprehensions
8686
'E', # pycodestyle

tests/test_editable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def test_editable_rebuild(package_purelib_and_platlib, tmp_path, verbose, args):
284284
# Importing again should result in no output.
285285
stdout = io.StringIO()
286286
with redirect_stdout(stdout):
287-
import pure # noqa: F401, F811
287+
import pure # noqa: F401
288288
assert stdout.getvalue() == ''
289289

290290
finally:

0 commit comments

Comments
 (0)