From 5401823aed626884e08f5f2db1d6246d9e129278 Mon Sep 17 00:00:00 2001 From: Michael McGeagh Date: Thu, 3 Dec 2020 15:56:13 +0000 Subject: vela: Update pre-commit Added pylint to pre-commit, but enabled only for scanning W0102 "dangerous-default-value". Signed-off-by: Michael McGeagh Change-Id: I49b887f6b862dd05fdcb465ae5097e5c2dc335aa --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 55a51a54..8702966b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,12 @@ repos: - id: flake8 args: [--max-line-length=120, --extend-ignore=E203] +- repo: https://github.com/pre-commit/mirrors-pylint + rev: v2.6.0 + hooks: + - id: pylint + args: [--score=no, --max-line-length=120, --disable=all, --enable=W0102] + - repo: local hooks: - id: pytest -- cgit v1.2.1