Closed 57an closed 4 months ago
You might have the wrong indentation:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.0
hooks:
- id: ruff-format
args: ['--check'] # <- here!
oh, my.. thanks it helps
Such option is available in ruff format, but inside precommit config gives no effect.
now results as reformatting instead of just checking
Possibly it is a repeat of https://github.com/astral-sh/ruff-pre-commit/issues/61, but in black there is ability to just check without formating