Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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