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