captainhook icon indicating copy to clipboard operation
captainhook copied to clipboard

Git hook scripts

Results 16 captainhook issues
Sort by recently updated
recently updated
newest added

What do you think about adding optional [mypy](http://mypy-lang.org/) support?

I don't know if you are intending to support windows, but the command line interface doesn't work on windows. Windows 10 Enterprise python 3.6

If the project has a .pylintrc file in its root-folder this is not picked up by the pylint checker.

Currently `docopt` is pinned to `0.6.1` this generates conflicts if docopt is also used in the project itself. If possible it would be great if you could change the requirement...

see: https://github.com/evvers/git-pre-commit-hook --plugin frosted --plugin json --plugin file_size --plugin rst --plugin yaml currently I use both captainhook and the above together, would be nice to have everything in one tool...

The readme should mention that `captainhook run` only works on the committed state of files, not the current working directory.

If a `tox.ini` exists in the project [it is always preferred](https://github.com/alexcouper/captainhook/blob/master/captainhook/checkers/utils.py#L25) for the flake8 checker even if an also existing `setup.cfg` contains the flake8 config. It would be great if...

When running `git commit --amend` I see that hooks executed again, and scan the WHOLE tree. Hooks should not run at all during this command. Thanks.

issue of captainhook/captainhook/checkers/isort_checker.py When i commit not python file for instance "settings.cfg" the plugin executes "isort -df --quiet" the check all my project. The behavior should be just commit without...