diff options
-rw-r--r-- | .github/workflows/check.yml | 6 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | docs/changelog/2344.feature.rst | 1 | ||||
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | tests/test_call_modes.py | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 25782875..759aab9d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -53,9 +53,9 @@ jobs: file_handler.write('TOXENV=' + ("py" if impl == "CPython" else "pypy") + ("{}{}".format(major, minor) if impl == "CPython" else "3") + "\n") shell: python - name: Setup test suite - run: tox4 r -vv --notest + run: tox r -vv --notest - name: Run test suite - run: tox4 r --skip-pkg-install + run: tox r --skip-pkg-install env: PYTEST_ADDOPTS: "-vv --durations=20" CI_RUN: "yes" @@ -97,7 +97,7 @@ jobs: - name: Install self-tox run: python -m pip install . - name: Run check for ${{ matrix.tox_env }} - run: tox4 r -e ${{ matrix.tox_env }} + run: tox r -e ${{ matrix.tox_env }} env: UPGRADE_ADVISORY: "yes" @@ -9,7 +9,6 @@ build dist *.egg-info .tox -.tox4 /.*_cache .dmypy.json /docs/_draft.rst diff --git a/docs/changelog/2344.feature.rst b/docs/changelog/2344.feature.rst new file mode 100644 index 00000000..8235d1fc --- /dev/null +++ b/docs/changelog/2344.feature.rst @@ -0,0 +1 @@ +Use ``tox`` console entry point name instead of ``tox4`` - by :user:`gaborbernat`. @@ -56,7 +56,7 @@ where = src [options.entry_points] console_scripts = - tox4 = tox.run:run + tox = tox.run:run [options.extras_require] docs = diff --git a/tests/test_call_modes.py b/tests/test_call_modes.py index 026fdd1e..7f7cce08 100644 --- a/tests/test_call_modes.py +++ b/tests/test_call_modes.py @@ -12,4 +12,4 @@ def test_call_as_module(empty_project: ToxProject) -> None: # noqa: U100 def test_call_as_exe(empty_project: ToxProject) -> None: # noqa: U100 - subprocess.check_output([str(Path(sys.executable).parent / "tox4"), "-h"]) + subprocess.check_output([str(Path(sys.executable).parent / "tox"), "-h"]) |