-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (35 loc) · 910 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (35 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
fail_fast: true
default_language_version:
python: python3.8
default_stages: [commit, push]
repos:
- repo: local
hooks:
- id: lint_package_update
name: Update package for lint environment
entry: hatch run lint:install-packages
pass_filenames: false
language: system
types:
- "python"
- id: python_style
name: Check Python Style
entry: hatch run lint:style
pass_filenames: false
language: system
types:
- "python"
- id: python_typing
name: Check Python Typing
entry: hatch run lint:typing
pass_filenames: false
language: system
types:
- "python"
- id: eslint
name: Check JavaScript Style and Typing
entry: npm run lint
pass_filenames: false
language: system
types:
- "javascript"