forked from oracle/graalpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (36 loc) · 929 Bytes
/
.pre-commit-config.yaml
File metadata and controls
36 lines (36 loc) · 929 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
36
repos:
- repo: local
hooks:
- id: checkcopyrights
name: Copyright check
language: system
entry: bash scripts/pre-commit-checkcopyrights.sh
types: [text]
- id: eclipseformat
name: Eclipse formatter
language: system
entry: bash scripts/pre-commit-eclipseformat.sh
types: [text]
files: '\.java$'
- id: checkstyle
name: Checkstyle
language: system
entry: bash scripts/pre-commit-checkstyle.sh
types: [text]
files: '\.java$'
- id: pylint
name: Pylint on mx files
language: system
pass_filenames: false
entry: bash scripts/pre-commit-pylint.sh
types: [text]
files: '^mx\.graalpython/.*\.py$'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
name: Trim Trailing Whitespace
entry: trailing-whitespace-fixer
language: python
types: [text]
files: '\.(java|py|md|c|h|sh)$'