Skip to content

Conversation

@gaborbernat
Copy link
Member

this is #660, but for some reason that did not get merged 🙅

@codecov
Copy link

codecov bot commented Dec 12, 2017

Codecov Report

Merging #711 into master will increase coverage by 0.01%.
The diff coverage is 93.1%.

Impacted file tree graph

@@ Coverage Diff @@ ## master #711 +/- ## ========================================== + Coverage 94.6% 94.61% +0.01%  ========================================== Files 11 11 Lines 2426 2377 -49 ========================================== - Hits 2295 2249 -46  + Misses 131 128 -3
Impacted Files Coverage Δ
tox/__init__.py 93.33% <ø> (ø) ⬆️
tox/venv.py 96.26% <ø> (ø) ⬆️
tox/_verlib.py 81.05% <ø> (ø) ⬆️
tox/__main__.py 0% <0%> (ø) ⬆️
tox/session.py 94.84% <100%> (+0.01%) ⬆️
tox/config.py 97.75% <100%> (+0.11%) ⬆️
tox/_quickstart.py 82.75% <100%> (ø) ⬆️
tox/_pytestplugin.py 95.17% <95.55%> (+0.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 087ed06...2f63a4b. Read the comment docs.

@@ -1 +1,2 @@
# noinspection PyUnresolvedReferences
from tox._pytestplugin import * # noqa

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please replace this with pytest_plugins = ['tox._pytestplugin']

@gaborbernat gaborbernat merged commit 6b16b09 into tox-dev:master Dec 12, 2017


def main(args=None):
def main(args):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change breaks the tox startup executable set up by setuptools. When that startup executable runs tox's main() function (and this is the one used), it does not pass it any arguments.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gaborbernat - And we might want to add an external process test making sure those setuptools installed starter executables work correctly in the future?

(','.join(["'%s'" % m for m in venv.envconfig.missing_subs])))
"unresolvable substitution(s): %s. "
"Environment variables are missing or defined recursively." %
(','.join(["'%s'" % m for m in venv.envconfig.missing_subs])))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we do an extra level of indentation is such cases?

@gaborbernat gaborbernat deleted the cmd branch June 11, 2018 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants