git-pylint-commit-hook
git-pylint-commit-hook copied to clipboard
Git pre-commit hook to check Python code quality with pylint. You can use this hook to prohibit Python code with a bad syntax to be checked in.
Prompted by an issue raised against `pylint` itself: https://github.com/PyCQA/pylint/issues/6821 This makes it so ``setup.py`` reflects what's in the README and will warn users who try to use an incompatible version...
Hi, I like the fact that I didn't have to modify every git repository, that installing this made it work with existing repos. Is it possible to make this tool...
Running pylint manually for ~100 files in my project takes 50 seconds. When committing 70 changed files, it takes 10 minutes because pylint is run separately for each file.
Hi all, I would like to sorry in advance if it is just me not able to understand the instruction. I tried several things and it seems `git-pylint-commit-hook` is just...
i am using python 2.7.11 pylint==1.8.2 git-pylint-commit-hook==2.3.0 pre commit: #!/bin/bash git-pylint-commit-hook --limit 3 when evert doing commit i am getting this: Running pylint on test.py (file 1/1).. **0**/10.00 FAILED the...
In environments with legacy code, there can be many python scripts of quite bad quality. If the git hook expects a quality e.g. of 8.0, the motivation to fix a...
As seen below, when the pylint process fails, git-pylint-commit-hook reports a score of `0/10.00`. Would be useful to forward pylint's stderr when this happens, to be able to debug. ```...