mirror of https://github.com/pypa/pip
Update ruff and config (#12390)
This commit is contained in:
parent
fd77ebfc74
commit
9685f64fe8
|
@ -22,9 +22,10 @@ repos:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.0.292
|
rev: v0.1.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
|
args: [--fix, --exit-non-zero-on-fix]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.961
|
rev: v0.961
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Update ruff versions and config for dev
|
|
@ -84,8 +84,8 @@ ignore = [
|
||||||
"B020",
|
"B020",
|
||||||
"B904", # Ruff enables opinionated warnings by default
|
"B904", # Ruff enables opinionated warnings by default
|
||||||
"B905", # Ruff enables opinionated warnings by default
|
"B905", # Ruff enables opinionated warnings by default
|
||||||
"G202",
|
|
||||||
]
|
]
|
||||||
|
target-version = "py37"
|
||||||
line-length = 88
|
line-length = 88
|
||||||
select = [
|
select = [
|
||||||
"ASYNC",
|
"ASYNC",
|
||||||
|
|
Loading…
Reference in New Issue