mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
606 B
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