Skip to content

Commit af2603c

Browse files
author
Dan Choi
committed
add twine check in tox
1 parent bf6805f commit af2603c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tox.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,14 @@ deps =
7272
pylint==2.1.1
7373
commands =
7474
python -m pylint --rcfile=.pylintrc -j 0 src/sagemaker
75+
76+
[testenv:twine]
77+
basepython = python
78+
# twine check was added starting in 1.12.0
79+
# https://github.com/pypa/twine/blob/master/docs/changelog.rst
80+
deps =
81+
twine>=1.12.0
82+
# https://packaging.python.org/guides/making-a-pypi-friendly-readme/#validating-restructuredtext-markup
83+
commands =
84+
python setup.py sdist
85+
twine check dist/*.tar.gz

0 commit comments

Comments
 (0)