mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-03 13:23:10 +00:00
Fix Ruff pre-commit hook errors (#3706)
This commit is contained in:
parent
7da06b9741
commit
7f3b748401
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ repos:
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
- id: ruff
|
- id: ruff
|
||||||
name: ruff
|
name: ruff
|
||||||
entry: cargo run -p ruff_cli -- check --no-cache --force-exclude --fix --exit-non-zero-on-fix
|
entry: cargo run -p ruff_cli -- check --no-cache --force-exclude --fix --exit-non-zero-on-fix --extend-ignore=E203
|
||||||
language: system
|
language: system
|
||||||
types_or: [python, pyi]
|
types_or: [python, pyi]
|
||||||
require_serial: true
|
require_serial: true
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ async def main(*, ruff1: Path, ruff2: Path) -> None:
|
||||||
return_exceptions=True,
|
return_exceptions=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
diffs = {name: result for name, result in zip(REPOSITORIES, results, strict=True)}
|
diffs = dict(zip(REPOSITORIES, results, strict=True))
|
||||||
|
|
||||||
total_removed = total_added = 0
|
total_removed = total_added = 0
|
||||||
errors = 0
|
errors = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue