mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 05:14:18 +00:00
Remove (unused) Makefile
Committed via https://github.com/asottile/all-repos
This commit is contained in:
parent
7a8a6e4b54
commit
e8a9a519d2
2 changed files with 0 additions and 29 deletions
24
Makefile
24
Makefile
|
|
@ -1,24 +0,0 @@
|
||||||
REBUILD_FLAG =
|
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all: venv test
|
|
||||||
|
|
||||||
.PHONY: venv
|
|
||||||
venv: .venv.touch
|
|
||||||
tox -e venv $(REBUILD_FLAG)
|
|
||||||
|
|
||||||
.PHONY: tests test
|
|
||||||
tests: test
|
|
||||||
test: .venv.touch
|
|
||||||
tox $(REBUILD_FLAG)
|
|
||||||
|
|
||||||
.venv.touch: setup.py requirements-dev.txt
|
|
||||||
$(eval REBUILD_FLAG := --recreate)
|
|
||||||
touch .venv.touch
|
|
||||||
|
|
||||||
.PHONY: clean
|
|
||||||
clean:
|
|
||||||
find . -name '*.pyc' -delete
|
|
||||||
rm -rf .tox
|
|
||||||
rm -rf ./venv-*
|
|
||||||
rm -f .venv.touch
|
|
||||||
5
tox.ini
5
tox.ini
|
|
@ -1,5 +1,4 @@
|
||||||
[tox]
|
[tox]
|
||||||
project = pre_commit_hooks
|
|
||||||
# These should match the travis env list
|
# These should match the travis env list
|
||||||
envlist = py27,py35,py36,pypy
|
envlist = py27,py35,py36,pypy
|
||||||
|
|
||||||
|
|
@ -18,10 +17,6 @@ commands =
|
||||||
pre-commit install -f --install-hooks
|
pre-commit install -f --install-hooks
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
|
|
||||||
[testenv:venv]
|
|
||||||
envdir = venv-{[tox]project}
|
|
||||||
commands =
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length=131
|
max-line-length=131
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue