From 3382d830c255286d130bd07f9ec5688070369a4b Mon Sep 17 00:00:00 2001 From: lavish205 Date: Wed, 7 Dec 2016 15:34:27 +0530 Subject: [PATCH] fixes issue #157: adding pylint hook support --- hooks.yaml | 5 +++++ setup.py | 1 + 2 files changed, 6 insertions(+) diff --git a/hooks.yaml b/hooks.yaml index 0604585..1dfdb5e 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -147,3 +147,8 @@ entry: trailing-whitespace-fixer language: python files: \.(asciidoc|adoc|coffee|cpp|css|c|ejs|erb|groovy|h|haml|hh|hpp|hxx|html|in|j2|jade|json|js|less|markdown|md|ml|mli|pp|py|rb|rs|R|scala|scss|sh|slim|tex|tmpl|ts|txt|yaml|yml)$ +- id: pylint + name: pylint + entry: pylint + language: python + files: \.py$ diff --git a/setup.py b/setup.py index fb6abad..8d94fb6 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ setup( 'pyyaml', 'simplejson', 'six', + 'pylint', ], entry_points={ 'console_scripts': [