diff --git a/bin/pylint-hook b/bin/pylint-hook new file mode 100644 index 0000000000000000000000000000000000000000..f424f5b5a487a3612831dcef2291dff86893809f --- /dev/null +++ b/bin/pylint-hook @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +git-pylint-commit-hook --always-show-violations --limit 10 --pylint-params "-f colorized -r n --disable=R,C,fixme" diff --git a/setup.py b/setup.py index dc2256de5d12ed32ac969b7a58a924811b852c4d..c938e025f1a5628c36c94018cf8524712280dedb 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,7 @@ setup( 'pep8', 'pytest-pylint', 'yapf', + 'git-pylint-commit-hook', 'pytest-console-scripts'], install_requires=[