Metadata-Version: 2.1
Name: tox-envlist
Version: 0.3.0
Summary: Allows selection of a different tox envlist.
Author-email: Dominic Davis-Foster <dominic@davis-foster.co.uk>
License: MIT
Keywords: tox,tox-plugin
Home-page: https://github.com/python-coincidence/tox-envlist
Project-URL: Issue Tracker, https://github.com/python-coincidence/tox-envlist/issues
Project-URL: Source Code, https://github.com/python-coincidence/tox-envlist
Platform: Windows
Platform: macOS
Platform: Linux
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: tox
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Testing :: Unit
Classifier: Typing :: Typed
Requires-Python: >=3.7
Requires-Dist: braceexpand>=0.1.6
Requires-Dist: domdf-python-tools>=2.8.1
Requires-Dist: pluggy>=0.13.1
Requires-Dist: tox>=3.18.0
Description-Content-Type: text/x-rst


############
tox-envlist
############

.. start short_desc

**Allows selection of a different tox envlist.**

.. end short_desc


.. start shields

.. list-table::
	:stub-columns: 1
	:widths: 10 90

	* - Tests
	  - |actions_linux| |actions_windows| |actions_macos| |coveralls|
	* - PyPI
	  - |pypi-version| |supported-versions| |supported-implementations| |wheel|
	* - Activity
	  - |commits-latest| |commits-since| |maintained| |pypi-downloads|
	* - QA
	  - |codefactor| |actions_flake8| |actions_mypy| |pre_commit_ci|
	* - Other
	  - |license| |language| |requires|

.. |actions_linux| image:: https://github.com/python-coincidence/tox-envlist/workflows/Linux/badge.svg
	:target: https://github.com/python-coincidence/tox-envlist/actions?query=workflow%3A%22Linux%22
	:alt: Linux Test Status

.. |actions_windows| image:: https://github.com/python-coincidence/tox-envlist/workflows/Windows/badge.svg
	:target: https://github.com/python-coincidence/tox-envlist/actions?query=workflow%3A%22Windows%22
	:alt: Windows Test Status

.. |actions_macos| image:: https://github.com/python-coincidence/tox-envlist/workflows/macOS/badge.svg
	:target: https://github.com/python-coincidence/tox-envlist/actions?query=workflow%3A%22macOS%22
	:alt: macOS Test Status

.. |actions_flake8| image:: https://github.com/python-coincidence/tox-envlist/workflows/Flake8/badge.svg
	:target: https://github.com/python-coincidence/tox-envlist/actions?query=workflow%3A%22Flake8%22
	:alt: Flake8 Status

.. |actions_mypy| image:: https://github.com/python-coincidence/tox-envlist/workflows/mypy/badge.svg
	:target: https://github.com/python-coincidence/tox-envlist/actions?query=workflow%3A%22mypy%22
	:alt: mypy status

.. |requires| image:: https://requires.io/github/python-coincidence/tox-envlist/requirements.svg?branch=master
	:target: https://requires.io/github/python-coincidence/tox-envlist/requirements/?branch=master
	:alt: Requirements Status

.. |coveralls| image:: https://img.shields.io/coveralls/github/python-coincidence/tox-envlist/master?logo=coveralls
	:target: https://coveralls.io/github/python-coincidence/tox-envlist?branch=master
	:alt: Coverage

.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/python-coincidence/tox-envlist?logo=codefactor
	:target: https://www.codefactor.io/repository/github/python-coincidence/tox-envlist
	:alt: CodeFactor Grade

.. |pypi-version| image:: https://img.shields.io/pypi/v/tox-envlist
	:target: https://pypi.org/project/tox-envlist/
	:alt: PyPI - Package Version

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/tox-envlist?logo=python&logoColor=white
	:target: https://pypi.org/project/tox-envlist/
	:alt: PyPI - Supported Python Versions

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/tox-envlist
	:target: https://pypi.org/project/tox-envlist/
	:alt: PyPI - Supported Implementations

.. |wheel| image:: https://img.shields.io/pypi/wheel/tox-envlist
	:target: https://pypi.org/project/tox-envlist/
	:alt: PyPI - Wheel

.. |license| image:: https://img.shields.io/github/license/python-coincidence/tox-envlist
	:target: https://github.com/python-coincidence/tox-envlist/blob/master/LICENSE
	:alt: License

.. |language| image:: https://img.shields.io/github/languages/top/python-coincidence/tox-envlist
	:alt: GitHub top language

.. |commits-since| image:: https://img.shields.io/github/commits-since/python-coincidence/tox-envlist/v0.3.0
	:target: https://github.com/python-coincidence/tox-envlist/pulse
	:alt: GitHub commits since tagged version

.. |commits-latest| image:: https://img.shields.io/github/last-commit/python-coincidence/tox-envlist
	:target: https://github.com/python-coincidence/tox-envlist/commit/master
	:alt: GitHub last commit

.. |maintained| image:: https://img.shields.io/maintenance/yes/2021
	:alt: Maintenance

.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/tox-envlist
	:target: https://pypi.org/project/tox-envlist/
	:alt: PyPI - Downloads

.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/python-coincidence/tox-envlist/master.svg
	:target: https://results.pre-commit.ci/latest/github/python-coincidence/tox-envlist/master
	:alt: pre-commit.ci status

.. end shields


Configuration
----------------

In your ``tox.ini`` file, add the following:

.. code-block:: ini

	[envlists]
	test = py36, py37, py38
	qa = mypy,lint
	cov = py36,coverage

This will configure three envlists:

* **test**, which runs the environments ``py36``, ``py37`` and ``py38``
* **qa**, which runs the environments ``mypy`` and ``lint``
* **cov**, which runs the environments ``py36`` and ``coverage``

You are free to customise these envlists and add new ones.


Usage
-------

Run tox using the ``-n`` / ``--envlist-name [name]`` option, where ``name`` is the name of the envlist.


Installation
--------------

.. start installation

``tox-envlist`` can be installed from PyPI.

To install with ``pip``:

.. code-block:: bash

	$ python -m pip install tox-envlist

.. end installation
