Standardize log message usage of 'dev-package' and 'env' terminology

This commit is contained in:
Ethan Paul 2020-09-25 01:02:30 -04:00
parent 5dfbca4ff6
commit b10e796ca1
No known key found for this signature in database
GPG Key ID: C5F5542B54A4D9C6

View File

@ -132,7 +132,7 @@ def tox_testenv_install_deps(
if action.name == venv.envconfig.config.isolated_build_env: if action.name == venv.envconfig.config.isolated_build_env:
reporter.verbosity1( reporter.verbosity1(
f"{_REPORTER_PREFIX} skipping isolated build environment '{action.name}'" f"{_REPORTER_PREFIX} skipping isolated build env '{action.name}'"
) )
return None return None
@ -157,21 +157,21 @@ def tox_testenv_install_deps(
if not venv.envconfig.skip_install: if not venv.envconfig.skip_install:
reporter.verbosity1( reporter.verbosity1(
f"{_REPORTER_PREFIX} env specifies 'skip_install = false', performing installation of development package dependencies" f"{_REPORTER_PREFIX} env specifies 'skip_install = false', performing installation of dev-package dependencies"
) )
primary_dependencies = poetry.locker.locked_repository(False).packages primary_dependencies = poetry.locker.locked_repository(False).packages
reporter.verbosity1( reporter.verbosity1(
f"{_REPORTER_PREFIX} identified {len(primary_dependencies)} dependencies of development package" f"{_REPORTER_PREFIX} identified {len(primary_dependencies)} dependencies of dev-package"
) )
reporter.verbosity0( reporter.verbosity0(
f"{_REPORTER_PREFIX} ({venv.name}) installing {len(primary_dependencies)} development package dependencies from lockfile" f"{_REPORTER_PREFIX} ({venv.name}) installing {len(primary_dependencies)} dev-package dependencies from lockfile"
) )
_install_to_venv(poetry, venv, primary_dependencies) _install_to_venv(poetry, venv, primary_dependencies)
else: else:
reporter.verbosity1( reporter.verbosity1(
f"{_REPORTER_PREFIX} env specifies 'skip_install = true', skipping installation of top-level package" f"{_REPORTER_PREFIX} env specifies 'skip_install = true', skipping installation of dev-package package"
) )
return dependencies return dependencies