From 637597c96fc82e41850cf9f73d12c8556e52ec93 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sat, 14 Nov 2020 23:33:51 +0100 Subject: Add pylint to the pre-commit configuration It's faster than 'tox -e pylint' --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c1c3e291..10444b5c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,3 +25,10 @@ repos: - id: black args: [--safe, --quiet] exclude: *fixtures +- repo: local + hooks: + - id: pylint + name: pylint + entry: pylint + language: system + types: [python] -- cgit v1.2.1