|
|
@ -1,12 +1,12 @@ |
|
|
|
[tox] |
|
|
|
[tox] |
|
|
|
envlist = python3.6, python3.9, python3.10 |
|
|
|
envlist = python3.7, python3.9, python3.10 |
|
|
|
|
|
|
|
|
|
|
|
[testenv] |
|
|
|
[testenv] |
|
|
|
deps = |
|
|
|
deps = |
|
|
|
pytest |
|
|
|
pytest |
|
|
|
pytest-mock |
|
|
|
pytest-mock |
|
|
|
passenv = MYTHRIL_DIR INFURA_ID |
|
|
|
passenv = MYTHRIL_DIR,INFURA_ID |
|
|
|
whitelist_externals = mkdir |
|
|
|
allowlist_externals = mkdir |
|
|
|
commands = |
|
|
|
commands = |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current_laser_result/ |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current_laser_result/ |
|
|
@ -15,8 +15,8 @@ commands = |
|
|
|
--disable-pytest-warnings \ |
|
|
|
--disable-pytest-warnings \ |
|
|
|
{posargs} |
|
|
|
{posargs} |
|
|
|
|
|
|
|
|
|
|
|
[testenv:py36] |
|
|
|
[testenv:py37] |
|
|
|
basepython = python3.6 |
|
|
|
basepython = python3.7 |
|
|
|
setenv = |
|
|
|
setenv = |
|
|
|
COVERAGE_FILE = .coverage.{envname} |
|
|
|
COVERAGE_FILE = .coverage.{envname} |
|
|
|
deps = |
|
|
|
deps = |
|
|
@ -25,8 +25,7 @@ deps = |
|
|
|
pytest-mock |
|
|
|
pytest-mock |
|
|
|
pytest-cov |
|
|
|
pytest-cov |
|
|
|
|
|
|
|
|
|
|
|
passenv = MYTHRIL_DIR INFURA_ID |
|
|
|
allowlist_externals = mkdir |
|
|
|
whitelist_externals = mkdir |
|
|
|
|
|
|
|
commands = |
|
|
|
commands = |
|
|
|
mypy --follow-imports=silent --warn-unused-ignores --ignore-missing-imports --no-strict-optional mythril |
|
|
|
mypy --follow-imports=silent --warn-unused-ignores --ignore-missing-imports --no-strict-optional mythril |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
@ -50,8 +49,8 @@ deps = |
|
|
|
pytest-mock |
|
|
|
pytest-mock |
|
|
|
pytest-cov |
|
|
|
pytest-cov |
|
|
|
|
|
|
|
|
|
|
|
passenv = MYTHRIL_DIR INFURA_ID |
|
|
|
passenv = MYTHRIL_DIR,INFURA_ID |
|
|
|
whitelist_externals = mkdir |
|
|
|
allowlist_externals = mkdir |
|
|
|
commands = |
|
|
|
commands = |
|
|
|
mypy --follow-imports=silent --warn-unused-ignores --ignore-missing-imports --no-strict-optional mythril |
|
|
|
mypy --follow-imports=silent --warn-unused-ignores --ignore-missing-imports --no-strict-optional mythril |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
@ -75,8 +74,8 @@ deps = |
|
|
|
pytest-mock |
|
|
|
pytest-mock |
|
|
|
pytest-cov |
|
|
|
pytest-cov |
|
|
|
|
|
|
|
|
|
|
|
passenv = MYTHRIL_DIR INFURA_ID |
|
|
|
passenv = MYTHRIL_DIR,INFURA_ID |
|
|
|
whitelist_externals = mkdir |
|
|
|
allowlist_externals = mkdir |
|
|
|
commands = |
|
|
|
commands = |
|
|
|
mypy --follow-imports=silent --warn-unused-ignores --ignore-missing-imports --no-strict-optional mythril |
|
|
|
mypy --follow-imports=silent --warn-unused-ignores --ignore-missing-imports --no-strict-optional mythril |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
|