Skip to content

Commit 71c08b6

Browse files
committed
Add pylint pre-commit check
1 parent e2e14a2 commit 71c08b6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ repos:
1818
entry: bash scripts/pre-commit-checkstyle.sh
1919
types: [text]
2020
files: '\.java$'
21+
- id: pylint
22+
name: Pylint on mx files
23+
language: system
24+
pass_filenames: false
25+
entry: mx --primary pylint --primary
26+
types: [text]
27+
files: '^mx\.graalpython/.*\.py$'
2128
- repo: https://github.com/pre-commit/pre-commit-hooks
2229
rev: v5.0.0
2330
hooks:

0 commit comments

Comments
 (0)