Metadata-Version: 2.1
Name: tox-py
Version: 1.1.0
Summary: Adds the --py flag to tox to run environments matching a given Python interpreter.
Home-page: https://github.com/adamchainz/tox-py
Author: Adam Johnson
Author-email: me@adamj.eu
License: MIT License
Project-URL: Changelog, https://github.com/adamchainz/tox-py/blob/main/HISTORY.rst
Project-URL: Twitter, https://twitter.com/adamchainz
Description: ======
        tox-py
        ======
        
        .. image:: https://img.shields.io/github/workflow/status/adamchainz/tox-py/CI/main?style=for-the-badge
           :target: https://github.com/adamchainz/tox-py/actions?workflow=CI
        
        .. image:: https://img.shields.io/codecov/c/github/adamchainz/tox-py/main?style=for-the-badge
          :target: https://app.codecov.io/gh/adamchainz/tox-py
        
        .. image:: https://img.shields.io/pypi/v/tox-py.svg?style=for-the-badge
           :target: https://pypi.org/project/tox-py/
        
        .. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge
           :target: https://github.com/psf/black
        
        .. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=for-the-badge
           :target: https://github.com/pre-commit/pre-commit
           :alt: pre-commit
        
        ..
        
        Adds the ``--py`` flag to tox to run environments matching a given Python interpreter.
        
        Installation
        ============
        
        Use **pip**:
        
        .. code-block:: bash
        
            python -m pip install tox-py
        
        Python 3.6 to 3.10 supported.
        
        ----
        
        **Testing a Django project?**
        Check out my book `Speed Up Your Django Tests <https://gumroad.com/l/suydt>`__ which covers loads of best practices so you can write faster, more accurate tests.
        
        ----
        
        Usage
        =====
        
        After installation, the plugin will be automatically picked up by ``tox``.
        It adds one argument: ``--py``, which takes the version to filter environments against.
        The version can be specified either as a ``tox.ini``-style dotless version number, or the special string ``current`` for the version of Python that ``tox`` is running under.
        
        For example, to run all Python 3.9 environments:
        
        .. code-block:: sh
        
            tox --py 39
        
        Or to run all environments matching the version of Python that ``tox`` is running under:
        
        
        .. code-block:: sh
        
            tox --py current
        
        This makes configuring CI really easy: configure your CI to trigger each Python version in parallel, running ``tox --py current``.
        
Keywords: tox
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: tox
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
