1
0
mirror of https://github.com/fedora-python/tox-current-env.git synced 2024-12-24 00:56:16 +01:00

tox never gets capitalized

tox documentation is a good source for how to write it:

https://tox.wiki/en/latest/
https://tox.wiki/en/rewrite/

See also https://twitter.com/jugmac00/status/1524452912684011521

Merges https://github.com/fedora-python/tox-current-env/pull/50
This commit is contained in:
Jürgen Gmach 2022-05-12 09:54:55 +02:00 committed by GitHub
parent 0ea6d59938
commit d2f9344898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -4,14 +4,14 @@ on:
schedule: schedule:
- cron: '0 0 * * 1' # every Monday - cron: '0 0 * * 1' # every Monday
name: Run Tox tests name: Run tox tests
jobs: jobs:
tox_test: tox_test:
name: Tox test name: tox test
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Run Tox tests - name: Run tox tests
id: test id: test
uses: fedora-python/tox-github-action@master uses: fedora-python/tox-github-action@master
with: with:

View File

@ -185,7 +185,7 @@ the ``pytest`` command is present and uses the correct version of Python.
Don't mix current-env and regular tox runs Don't mix current-env and regular tox runs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tox caches the virtualenvs it creates, and doesn't distinguish between tox caches the virtualenvs it creates, and doesn't distinguish between
regular virtualenvs and ``--current-env``. regular virtualenvs and ``--current-env``.
Don't mix ``tox --current-env``, ``tox --print-deps-to`` or ``tox --print-extras-to`` Don't mix ``tox --current-env``, ``tox --print-deps-to`` or ``tox --print-extras-to``
runs and regular ``tox`` runs (without the flags provided by this plugin). runs and regular ``tox`` runs (without the flags provided by this plugin).
@ -207,7 +207,7 @@ use the ``TOX_TESTENV_PASSENV`` environment variable.
Read `the documentation for passing environment variables to tox Read `the documentation for passing environment variables to tox
<https://tox.readthedocs.io/en/latest/config.html#conf-passenv>`_. <https://tox.readthedocs.io/en/latest/config.html#conf-passenv>`_.
Tox provisioning tox provisioning
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
The tested projects can specify the The tested projects can specify the

View File

@ -56,7 +56,7 @@ def print_extras_stdout_arg(request):
@contextlib.contextmanager @contextlib.contextmanager
def modify_config(tox_ini_path): def modify_config(tox_ini_path):
"""Context manager that allows modifying the given Tox config file """Context manager that allows modifying the given tox config file
A statement like:: A statement like::