summaryrefslogtreecommitdiff
path: root/.pre-commit-hooks.yaml
diff options
context:
space:
mode:
authoriilei <iilei@users.noreply.github.com>2020-06-16 08:43:16 +0200
committerGitHub <noreply@github.com>2020-06-16 08:43:16 +0200
commit1047b76efc8ac0b60dce3c24aaa5b722b500b015 (patch)
tree0d282c884b9a6ae541421812c443def8a8f62509 /.pre-commit-hooks.yaml
parent7bf11769db270b828280433fcffe15ecaf196e4d (diff)
downloadpylint-git-1047b76efc8ac0b60dce3c24aaa5b722b500b015.tar.gz
Set default pre-commit hook config: single process (#3689)
The default pre-commit behaviour might lead to falsely succeeding lint-runs. E.g. due to duplicate lines of code spread across multiple files -- if affected files get spread across multiple runs, duplicates can not be detected.
Diffstat (limited to '.pre-commit-hooks.yaml')
-rw-r--r--.pre-commit-hooks.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml
index 17d980b4d..66d447127 100644
--- a/.pre-commit-hooks.yaml
+++ b/.pre-commit-hooks.yaml
@@ -3,3 +3,4 @@
entry: pylint
language: python
types: [python]
+ require_serial: true