Skip to content

Commit 8ef4acb

Browse files
committed
make test is all I need
1 parent abc73d5 commit 8ef4acb

File tree

5 files changed

+6
-44
lines changed

5 files changed

+6
-44
lines changed

.activate.sh

-1
This file was deleted.

.coveragerc

+2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ exclude_lines =
99
def __str__
1010

1111
[run]
12+
source = ./pyt
1213
omit =
14+
pyt/__main__.py
1315
pyt/definition_chains.py
1416
pyt/draw.py
1517
pyt/github_search.py

.deactivate.sh

-1
This file was deleted.

Makefile

-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
.PHONY: minimal
2-
minimal: setup
3-
4-
.PHONY: setup
5-
setup:
6-
tox -e venv
7-
8-
.PHONY: install-hooks
9-
install-hooks:
10-
tox -e pre-commit -- install -f --install-hooks
11-
121
.PHONY: test
132
test:
143
tox
15-
16-
.PHONY: clean
17-
clean:
18-
find -name '*.pyc' -delete
19-
find -name '__pycache__' -delete
20-
rm -rf .tox
21-
rm -rf venv

tox.ini

+4-24
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,8 @@
1-
[tox]
2-
project = pyt
3-
# These should match the travis env list
4-
envlist = py35,py36
5-
tox_pip_extensions_ext_venv_update = true
6-
71
[testenv]
2+
whitelist_externals = coverage
83
deps = -rrequirements-dev.txt
94
commands =
105
coverage erase
11-
coverage run -m pytest tests
12-
coverage report --show-missing --fail-under 99
13-
pre-commit run --all-files
14-
15-
[testenv:venv]
16-
basepython =
17-
3.5: python3.5
18-
3.6: python3.6
19-
envdir = venv
20-
commands =
21-
pre-commit install -f --install-hooks
22-
23-
[testenv:pre-commit]
24-
deps = pre-commit>=0.16.3
25-
commands = pre-commit {posargs}
26-
27-
[pep8]
28-
ignore = E501
6+
coverage run tests
7+
coverage report --show-missing --fail-under 87
8+
pre-commit run

0 commit comments

Comments
 (0)