summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2020-11-14 23:33:51 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2020-11-28 16:09:53 +0100
commit637597c96fc82e41850cf9f73d12c8556e52ec93 (patch)
treefcfa9605780cb70829b6f1a3201ad5545be29071
parentceddd5dea9a2f3369e1e4ae42f0381fd21ca7b68 (diff)
downloadpylint-git-637597c96fc82e41850cf9f73d12c8556e52ec93.tar.gz
Add pylint to the pre-commit configuration
It's faster than 'tox -e pylint'
-rw-r--r--.pre-commit-config.yaml7
1 files changed, 7 insertions, 0 deletions
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]