-
Notifications
You must be signed in to change notification settings - Fork 206
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
66 lines (66 loc) · 1.97 KB
/
.pre-commit-config.yaml
File metadata and controls
66 lines (66 loc) · 1.97 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
repos:
- repo: local
hooks:
- id: checkcopyrights
name: Copyright check
language: system
require_serial: true
entry: bash ../graal/scripts/pre-commit-checkcopyrights.sh
types: [text]
files: '^(graal-js/|graal-nodejs/mx\.graal-nodejs/.*\.java$)'
- id: verifymultireleaseprojects
name: Verify multi-release projects
language: system
require_serial: true
entry: bash ../graal/scripts/pre-commit-verifymultireleaseprojects.sh
types: [text]
files: '(^|/)(mx\.[^/]+/suite\.py|.*\.java)$'
- id: pyformat
name: Python format check
language: system
require_serial: true
entry: bash ../graal/scripts/pre-commit-pyformat.sh
types: [text]
files: '\.py$'
- id: pylint
name: Pylint on mx Python files
language: system
require_serial: true
entry: bash ../graal/scripts/pre-commit-pylint.sh
types: [text]
files: '(^|/)mx\.[^/]+/.*\.py$'
- id: checkoverlap
name: Check distribution overlap
language: system
require_serial: true
entry: bash ../graal/scripts/pre-commit-checkoverlap.sh
types: [text]
files: '(^|/)mx\.[^/]+/suite\.py$'
- id: canonicalizeprojects
name: Canonicalize projects
language: system
require_serial: true
entry: bash ../graal/scripts/pre-commit-canonicalizeprojects.sh
types: [text]
files: '(^|/)(mx\.[^/]+/suite\.py|.*\.java)$'
- id: verifysourceinproject
name: Verify sources in projects
language: system
require_serial: true
entry: bash ../graal/scripts/pre-commit-verifysourceinproject.sh
types: [text]
files: '(^|/)(mx\.[^/]+/suite\.py|.*\.java)$'
- id: eclipseformat
name: Eclipse formatter
language: system
require_serial: true
entry: bash ../graal/scripts/pre-commit-eclipseformat.sh
types: [text]
files: '\.java$'
- id: checkstyle
name: Checkstyle
language: system
require_serial: true
entry: bash ../graal/scripts/pre-commit-checkstyle.sh
types: [text]
files: '\.java$'