pre-commit-hooks/tests/README.md

606 B

Testing

Installing the test environment

Debian-based distributions

$ sudo apt install pypy python2.7 python3.5 python3.6 python-tox

Running the tests

$ make test

If the tests failed whereas the ones from the last tag did not, your Git configuration might interfere with pre-commit-hooks. In this case, you can ignore your current Git configuration by setting a temporary environment variable:

$ env HOME=/tmp make test