diff options
author | Michael McGeagh <michael.mcgeagh@arm.com> | 2020-12-03 15:56:13 +0000 |
---|---|---|
committer | Michael Mcgeagh <michael.mcgeagh@arm.com> | 2020-12-09 16:31:35 +0000 |
commit | 5401823aed626884e08f5f2db1d6246d9e129278 (patch) | |
tree | 080d6faa9b42083b6b9d15746d946bfa5075960e /.pre-commit-config.yaml | |
parent | 69aadd052588eb53a257e8f7431ed858161b3286 (diff) | |
download | ethos-u-vela-5401823aed626884e08f5f2db1d6246d9e129278.tar.gz |
vela: Update pre-commit
Added pylint to pre-commit, but enabled only for scanning W0102
"dangerous-default-value".
Signed-off-by: Michael McGeagh <michael.mcgeagh@arm.com>
Change-Id: I49b887f6b862dd05fdcb465ae5097e5c2dc335aa
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
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 |