diff options
author | iilei <iilei@users.noreply.github.com> | 2020-06-16 08:43:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 08:43:16 +0200 |
commit | 1047b76efc8ac0b60dce3c24aaa5b722b500b015 (patch) | |
tree | 0d282c884b9a6ae541421812c443def8a8f62509 | |
parent | 7bf11769db270b828280433fcffe15ecaf196e4d (diff) | |
download | pylint-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.
-rw-r--r-- | .pre-commit-hooks.yaml | 1 | ||||
-rw-r--r-- | CONTRIBUTORS.txt | 2 | ||||
-rw-r--r-- | ChangeLog | 1 |
3 files changed, 4 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 diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 4bcf7a1b9..6c6a21a46 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -389,3 +389,5 @@ contributors: * Jeremy Fleischman (jfly): contributer * Shiv Venkatasubrahmanyam + +* Jochen Preusche (iilei): contributor @@ -28,6 +28,7 @@ Release date: TBA * Fix a bug with `ignore-docstrings` ignoring all lines in a module +* Fix `pre-commit` config that could lead to undetected duplicate lines of code What's New in Pylint 2.5.3? =========================== |