Skip to content

Commit 1aa6dbd

Browse files
authored
Makefile: add update target (#403)
Runs `pre-commit autoupdate`
1 parent e40c1ef commit 1aa6dbd

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repos:
3131
# hooks:
3232
# - id: remove-tabs
3333
- repo: https://github.com/codespell-project/codespell
34-
rev: v2.2.1
34+
rev: v2.2.2
3535
hooks:
3636
- id: codespell
3737
name: Run codespell
@@ -44,7 +44,7 @@ repos:
4444
# - id: shellcheck
4545
# - id: shfmt
4646
- repo: https://github.com/pre-commit/mirrors-prettier
47-
rev: v3.0.0-alpha.0
47+
rev: v3.0.0-alpha.3
4848
hooks:
4949
- id: prettier
5050
name: Run prettier

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
.PHONY: lint
2-
lint:
1+
.PHONY: check
2+
check:
33
pre-commit run --all-files
4+
5+
.PHONY: update
6+
update:
7+
pre-commit autoupdate

0 commit comments

Comments
 (0)