pre-commit-hooks/tests/README.md
2017-07-05 21:44:40 +02:00

576 B

Testing

Installing the test environment

Debian-based distributions

$ sudo apt install pypy 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