Skip to content

Commit b48232f

Browse files
authored
Updated tox and dependencies (#77)
1 parent 6c296c0 commit b48232f

File tree

5 files changed

+19
-127
lines changed

5 files changed

+19
-127
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ install:
66
- pip install -U tox coverage==4.0.3 coveralls==1.8.2
77

88
script:
9-
- pipenv install --dev
10-
- pipenv run pip freeze > requirements-tests.txt
119
- coverage erase
1210
- tox
1311
after_success:

Pipfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pytest-cov = "*"
2323
pylint = "*"
2424
flake8 = "*"
2525
tox = "*"
26-
safety = "*"
2726
bandit = "*"
2827
mkdocs = "*"
2928
lightstep = "==4.3.0"

Pipfile.lock

Lines changed: 7 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements-tests.txt

Lines changed: 0 additions & 93 deletions
This file was deleted.

tox.ini

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
envlist = py36,pylint,flake8,safety,bandit,docs
33

44
[testenv]
5-
deps = -rrequirements-tests.txt
6-
commands =
5+
deps = pipenv
6+
commands_pre=
7+
pipenv install --dev --ignore-pipfile
8+
commands=
79
pytest --cov=pyms --cov=tests tests/
8-
install_command =
9-
pip install {opts} {packages}
10-
1110
[testenv:py36]
1211
basepython = python3.6
1312
[testenv:py37]
@@ -16,16 +15,20 @@ basepython = python3.7
1615
basepython = python3.5
1716
[testenv:bandit]
1817
basepython = python3.6
19-
commands = bandit -r pyms/
18+
commands =
19+
bandit -r pyms/
2020
[testenv:safety]
2121
basepython = python3.6
22-
commands = safety check -r requirements-tests.txt
22+
commands =
23+
pipenv check -vvvv
2324
[testenv:pylint]
2425
basepython = python3.6
25-
commands = pylint --rcfile={toxinidir}/pylintrc {toxinidir}/pyms
26+
commands =
27+
pylint --rcfile={toxinidir}/pylintrc {toxinidir}/pyms
2628
[testenv:flake8]
2729
basepython = python3.6
28-
commands = flake8 --ignore=E501 {toxinidir}/pyms
30+
commands =
31+
flake8 --ignore=E501 {toxinidir}/pyms
2932
[testenv:docs]
3033
basepython = python3.6
3134
skipsdist = True

0 commit comments

Comments
 (0)