Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show config now shows all config, filter-able, contains host tox python and package versions #1298

Merged
merged 1 commit into from
May 15, 2019

Conversation

gaborbernat
Copy link
Member

@gaborbernat gaborbernat commented May 15, 2019

--showconfig overhaul:

  • now fully generated via the config parser, so anyone can load it by using the built-in python config parser
  • the tox section contains all configuration data from config
  • the tox section contains a host_python key detailing the path of the host python
  • the tox:version section contains the versions of all packages tox depends on with their version
  • passing -l now allows only listing default target envs
  • allows showing config for a given set of tox environments only via the -e cli flag or the TOXENV environment variable, in this case the tox and tox:version section is only shown if at least one verbosity flag is passed

Copy link
Contributor

@asottile asottile left a comment

Choose a reason for hiding this comment

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

neat, fixnship

src/tox/config/__init__.py Outdated Show resolved Hide resolved
src/tox/session/commands/show_config.py Outdated Show resolved Hide resolved
@gaborbernat
Copy link
Member Author

gaborbernat commented May 15, 2019

Argh Azure decided to go down again in West Europe 🤦‍♂ https://status.dev.azure.com/_event/120579265

@gaborbernat gaborbernat merged commit dd66193 into tox-dev:master May 15, 2019
@gaborbernat gaborbernat deleted the showconfig branch May 15, 2019 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants