Skip to content

Commit f480c46

Browse files
committed
Specify Python module use in pre-commit hooks
1 parent c5ad34d commit f480c46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ repos:
5353
hooks:
5454
- id: actionlint
5555
name: actionlint
56-
entry: python -m actionlint
56+
entry: actionlint
5757
language: system
5858
pass_filenames: false
5959
types_or: [yaml]
@@ -145,14 +145,14 @@ repos:
145145

146146
- id: pyproject-fmt-check
147147
name: pyproject-fmt check
148-
entry: python -m pyproject-fmt --check
148+
entry: pyproject-fmt --check
149149
language: system
150150
types_or: [toml]
151151
files: pyproject.toml
152152

153153
- id: pyproject-fmt-fix
154154
name: pyproject-fmt
155-
entry: python -m pyproject-fmt
155+
entry: pyproject-fmt
156156
language: system
157157
types_or: [toml]
158158
files: pyproject.toml

0 commit comments

Comments
 (0)