File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 22
22
- name : " Install pre-commit"
23
23
run : " pip install pre-commit"
24
24
25
- - name : " Run checks with pre-commit "
26
- run : " pre-commit run --all-files --show-diff-on-failure --color always "
25
+ - name : " Run lint and format checks "
26
+ run : " make lint "
Original file line number Diff line number Diff line change 1
1
repos :
2
+ - repo : " https://github.com/pre-commit/pre-commit-hooks"
3
+ rev : " v4.4.0"
4
+ hooks :
5
+ - id : " check-added-large-files"
6
+ - id : " check-vcs-permalinks"
7
+ - id : " no-commit-to-branch"
8
+ # TODO: Apply this fixer and add an entry to .git-blame-ignore-revs
9
+ # - id: "end-of-file-fixer"
10
+
2
11
- repo : " https://github.com/charliermarsh/ruff-pre-commit"
3
12
rev : " v0.0.269"
4
13
hooks :
Original file line number Diff line number Diff line change
1
+ .PHONY : lint
2
+ lint :
3
+ pre-commit run --all-files --show-diff-on-failure --color always
You can’t perform that action at this time.
0 commit comments