Skip to content

Commit 4745233

Browse files
Improve pre-commit speed on examples pylint
1 parent 1f27ba7 commit 4745233

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ repos:
2828
hooks:
2929
- id: pylint_examples
3030
name: pylint (examples code)
31+
require_serial: true
3132
description: Run pylint rules on "examples/*.py" files
3233
entry: /usr/bin/env bash -c
3334
args: ['([[ ! -d "examples" ]] || for example in $(find . -path "./examples/*.py"); do pylint --disable=missing-docstring,invalid-name $example; done)']

0 commit comments

Comments
 (0)