Skip to content

Commit ae7581e

Browse files
committed
tox: no need to specify basepython manually - remove.
`basepython` is already specified in `testenv` (the first listed one in the file), and gets set for environments based on a factor present in the name. E.g., `testenv:py37-trinity-integration` has 3 factors: * py37 * trinity * integration See `tox` ref: https://tox.readthedocs.io/en/latest/config.html#factors-and-factor-conditional-settings
1 parent c482935 commit ae7581e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tox.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,17 @@ commands=
7272
py.test -n 1 {posargs:tests/trinity/integration/}
7373

7474
[testenv:py36-trinity-integration]
75-
basepython=python3.6
7675
deps = {[common-trinity-integration]deps}
7776
passenv = {[common-trinity-integration]passenv}
7877
commands = {[common-trinity-integration]commands}
7978

8079
[testenv:py37-trinity-integration]
81-
basepython=python3.7
8280
deps = {[common-trinity-integration]deps}
8381
passenv = {[common-trinity-integration]passenv}
8482
commands = {[common-trinity-integration]commands}
8583

8684

8785
[testenv:py36-benchmark]
88-
basepython=python3.6
8986
deps = .[eth-extras, benchmark]
9087
commands=
9188
benchmark: {toxinidir}/scripts/benchmark/run.py
@@ -98,7 +95,6 @@ commands=
9895
flake8 {toxinidir}/eth
9996

10097
[testenv:lint-py35]
101-
basepython=python3.5
10298
deps = {[common-lint]deps}
10399
setenv = {[common-lint]setenv}
104100
commands=
@@ -108,7 +104,6 @@ commands=
108104
mypy --follow-imports=silent --ignore-missing-imports --no-strict-optional --check-untyped-defs --disallow-incomplete-defs -p eth
109105

110106
[testenv:lint-py36]
111-
basepython=python3.6
112107
deps = {[common-lint]deps}
113108
setenv = {[common-lint]setenv}
114109
commands=

0 commit comments

Comments
 (0)