Remove (unused) Makefile
Committed via https://github.com/asottile/all-repos
This commit is contained in:
parent
7a8a6e4b54
commit
e8a9a519d2
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]
|
||||
project = pre_commit_hooks
|
||||
# These should match the travis env list
|
||||
envlist = py27,py35,py36,pypy
|
||||
|
||||
|
@ -18,10 +17,6 @@ commands =
|
|||
pre-commit install -f --install-hooks
|
||||
pre-commit run --all-files
|
||||
|
||||
[testenv:venv]
|
||||
envdir = venv-{[tox]project}
|
||||
commands =
|
||||
|
||||
[flake8]
|
||||
max-line-length=131
|
||||
|
||||
|
|
Loading…
Reference in New Issue