File tree 5 files changed +6
-44
lines changed
5 files changed +6
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ exclude_lines =
9
9
def __str__
10
10
11
11
[run]
12
+ source = ./pyt
12
13
omit =
14
+ pyt/__main__.py
13
15
pyt/definition_chains.py
14
16
pyt/draw.py
15
17
pyt/github_search.py
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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
-
12
1
.PHONY : test
13
2
test :
14
3
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
Original file line number Diff line number Diff line change 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
-
7
1
[testenv]
2
+ whitelist_externals = coverage
8
3
deps = -rrequirements-dev.txt
9
4
commands =
10
5
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
You can’t perform that action at this time.
0 commit comments