Skip to content

Commit 37502a4

Browse files
committed
skip unnecessary steps during tox tests
1 parent 3bef748 commit 37502a4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tox.ini

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,27 @@ commands =
6060
deps = .[test]
6161

6262
[testenv:flake8]
63-
basepython = python
63+
basepython = python3
64+
skipdist = true
65+
skip_install = true
6466
deps =
6567
flake8
6668
flake8-future-import
6769
commands = flake8
6870

6971
[testenv:pylint]
7072
basepython = python3
73+
skipdist = true
74+
skip_install = true
7175
deps =
7276
pylint==2.3.1
7377
commands =
7478
python -m pylint --rcfile=.pylintrc -j 0 src/sagemaker
7579

7680
[testenv:twine]
77-
basepython = python
81+
basepython = python3
82+
skipdist = true
83+
skip_install = true
7884
# twine check was added starting in 1.12.0
7985
# https://github.com/pypa/twine/blob/master/docs/changelog.rst
8086
deps =
@@ -86,6 +92,8 @@ commands =
8692

8793
[testenv:sphinx]
8894
basepython = python3
95+
skipdist = true
96+
skip_install = true
8997
changedir = doc
9098
# Based on: https://github.com/rtfd/readthedocs.org/blob/8f0c78dde5edcc85acf90462a8518735a25482d3/readthedocs/doc_builder/python_environments.py#L263
9199
install_command = python -m pip install --upgrade -I {packages}

0 commit comments

Comments
 (0)