Wrap test checks in bash to avoid globbing errors

This commit is contained in:
Ethan Paul 2020-10-11 19:30:52 -04:00
parent 4a1dc52755
commit 7a34c47168
No known key found for this signature in database
GPG Key ID: C5F5542B54A4D9C6

View File

@ -45,8 +45,8 @@ allowlist_externals =
commands =
black {toxinidir}/tests/
bash -c "reorder-python-imports {toxinidir}/tests/*.py --unclassifiable-application-module tox_poetry_installer"
pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/tests/
mypy --ignore-missing-imports --no-strict-optional {toxinidir}/tests/
bash -c "pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/tests/*.py"
bash -c "mypy --ignore-missing-imports --no-strict-optional {toxinidir}/tests/*.py"
[testenv:security]
description = Security checks