Skip to content

Commit

Permalink
Only run twine check for *.tar.gz and *.whl files.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Nov 11, 2020
1 parent 20cf6ce commit 5ad5f20
Show file tree
Hide file tree
Showing 129 changed files with 130 additions and 129 deletions.
3 changes: 2 additions & 1 deletion repo_helper/files/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ def testenv_build(self):
self._ini["testenv:build"]["commands"] = indent_join([
'python -m pep517.build --source --binary "{toxinidir}"',
# python setup.py {posargs} sdist bdist_wheel
"twine check dist/*",
# "twine check dist/*",
"twine check dist/*.tar.gz dist/*.whl", # source
"check-wheel-contents dist/",
])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ deps =
check-wheel-contents>=0.1.0
commands =
python -m pep517.build --source --binary "{toxinidir}"
twine check dist/*
twine check dist/*.tar.gz dist/*.whl
check-wheel-contents dist/

[testenv:lint]
Expand Down
Loading

0 comments on commit 5ad5f20

Please sign in to comment.