Skip to content

Commit 414f083

Browse files
authored
chore(pre-commit): add ruff-fix manual hook (#111)
Committed via https://github.com/asottile/all-repos
1 parent 66aecef commit 414f083

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ repos:
4141
hooks:
4242
- id: ruff-check
4343
args: [--fix]
44+
- id: ruff-check
45+
alias: ruff-fix
46+
stages: [manual]
47+
args: [--fix, --unsafe-fixes]
4448
- id: ruff-format
4549

4650
- repo: https://github.com/pre-commit/mirrors-mypy

0 commit comments

Comments
 (0)