Skip to content

Commit f5c5b85

Browse files
committed
Update Ruff CI to v0.3.6
1 parent 550388e commit f5c5b85

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: black
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.2.0
25+
rev: v0.3.6
2626
hooks:
2727
- id: ruff
2828
args: [--fix, --exit-non-zero-on-fix]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ max-complexity = 33 # default is 10
201201
"src/pip/_internal/*" = ["PERF203"]
202202
"tests/*" = ["B011"]
203203
"tests/unit/test_finder.py" = ["C414"]
204+
"src/pip/__pip-runner__.py" = ["UP"] # Must be compatible with Python 2.7
204205

205206
[tool.ruff.lint.pylint]
206207
max-args = 15 # default is 5

0 commit comments

Comments
 (0)