Skip to content

Commit 78dc9cf

Browse files
committed
✨ feat: ruff-auto-fix check to pre-commit hooks
1 parent 7f41408 commit 78dc9cf

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ repos:
88
- repo: local
99
hooks:
1010

11-
# - id: ruff-auto-fix
12-
# name: ruff-auto-fix
13-
# entry: ./run_ruff.py
14-
# language: python
15-
# types: [ python ]
16-
# always_run: true
17-
# pass_filenames: false
11+
- id: ruff-auto-fix
12+
name: ruff-auto-fix
13+
entry: ./run_ruff.py
14+
language: python
15+
types: [ python ]
16+
always_run: true
17+
pass_filenames: false
1818

1919
- id: pytest-check
2020
name: pytest-check

run_ruff.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)