mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-02 21:03:11 +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
|
||||
- id: 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
|
||||
types_or: [python, pyi]
|
||||
require_serial: true
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ async def main(*, ruff1: Path, ruff2: Path) -> None:
|
|||
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
|
||||
errors = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue