-
- Downloads
There was a problem fetching the pipeline summary.
Works for me. Should resolve the issues mentioned in #47.
-
After long last, i've found a solution that works and doesn't even depend on pre-commit (screw that). Just add a
pre-commit
file to .git/hooks with the following content:#!/bin/bash cd backend unset GIT_DIR git diff --cached --name-only --relative | xargs prospector --uses django
Prospector must be installed, so either the virtualenv must be activated during commit, or it mus be installed system-wide.
Edited by robinwilliam.hundt
Please register or sign in to comment