Skip to content

Commit 25cc880

Browse files
committed
build: rebuild lint env at commit
1 parent ad2d83b commit 25cc880

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@ default_stages: [commit, push]
55
repos:
66
- repo: local
77
hooks:
8+
- id: lint_package_update
9+
name: Update package for lint environment
10+
entry: hatch run lint:install-packages
11+
pass_filenames: false
12+
language: system
813
- id: python_style
914
name: Check Python Style
1015
entry: hatch run lint:style
1116
pass_filenames: false
1217
language: system
13-
- repo: local
14-
hooks:
1518
- id: python_typing
1619
name: Check Python Typing
1720
entry: hatch run lint:typing
1821
pass_filenames: false
1922
language: system
20-
- repo: local
21-
hooks:
2223
- id: eslint
2324
name: Check JavaScript Style and Typing
2425
entry: npm run lint

0 commit comments

Comments
 (0)