mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
Run pre-commit during test
This commit is contained in:
parent
e306ff3b7d
commit
3a3a7a153a
7 changed files with 20 additions and 21 deletions
7
Makefile
7
Makefile
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
REBUILD_FLAG =
|
||||
|
||||
.PHONY: all
|
||||
|
|
@ -13,15 +12,13 @@ tests: test
|
|||
test: .venv.touch
|
||||
tox $(REBUILD_FLAG)
|
||||
|
||||
|
||||
.venv.touch: setup.py requirements.txt requirements-dev.txt
|
||||
.venv.touch: setup.py requirements-dev.txt
|
||||
$(eval REBUILD_FLAG := --recreate)
|
||||
touch .venv.touch
|
||||
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
find . -iname '*.pyc' | xargs rm -f
|
||||
find . -name '*.pyc' -delete
|
||||
rm -rf .tox
|
||||
rm -rf ./venv-*
|
||||
rm -f .venv.touch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue