Skip to content

Commit

Permalink
Merge pull request pypa#12805 from notatallshaw/ruff-0.5.0
Browse files Browse the repository at this point in the history
Update ruff to 0.5.0
  • Loading branch information
sbidoul authored Jul 2, 2024
2 parents 47ffcdd + 8a9a1af commit e238600
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.7
rev: v0.5.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
1 change: 1 addition & 0 deletions news/12805.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update ruff to 0.5.0
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ distlib = "https://bitbucket.org/pypa/distlib/raw/master/LICENSE.txt"

[tool.ruff]
src = ["src"]
target-version = "py38"
line-length = 88
extend-exclude = [
"_vendor",
Expand Down
2 changes: 1 addition & 1 deletion src/pip/_internal/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _onerror_ignore(*_args: Any) -> None:


def _onerror_reraise(*_args: Any) -> None:
raise
raise # noqa: PLE0704 - Bare exception used to reraise existing exception


def rmtree_errorhandler(
Expand Down

0 comments on commit e238600

Please sign in to comment.