Skip to content

Commit 48a8948

Browse files
authored
Use tox over tox4 (#2345)
1 parent b981399 commit 48a8948

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ jobs:
5353
file_handler.write('TOXENV=' + ("py" if impl == "CPython" else "pypy") + ("{}{}".format(major, minor) if impl == "CPython" else "3") + "\n")
5454
shell: python
5555
- name: Setup test suite
56-
run: tox4 r -vv --notest
56+
run: tox r -vv --notest
5757
- name: Run test suite
58-
run: tox4 r --skip-pkg-install
58+
run: tox r --skip-pkg-install
5959
env:
6060
PYTEST_ADDOPTS: "-vv --durations=20"
6161
CI_RUN: "yes"
@@ -97,7 +97,7 @@ jobs:
9797
- name: Install self-tox
9898
run: python -m pip install .
9999
- name: Run check for ${{ matrix.tox_env }}
100-
run: tox4 r -e ${{ matrix.tox_env }}
100+
run: tox r -e ${{ matrix.tox_env }}
101101
env:
102102
UPGRADE_ADVISORY: "yes"
103103

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ build
99
dist
1010
*.egg-info
1111
.tox
12-
.tox4
1312
/.*_cache
1413
.dmypy.json
1514
/docs/_draft.rst

docs/changelog/2344.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use ``tox`` console entry point name instead of ``tox4`` - by :user:`gaborbernat`.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ where = src
5656

5757
[options.entry_points]
5858
console_scripts =
59-
tox4 = tox.run:run
59+
tox = tox.run:run
6060

6161
[options.extras_require]
6262
docs =

tests/test_call_modes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ def test_call_as_module(empty_project: ToxProject) -> None: # noqa: U100
1212

1313

1414
def test_call_as_exe(empty_project: ToxProject) -> None: # noqa: U100
15-
subprocess.check_output([str(Path(sys.executable).parent / "tox4"), "-h"])
15+
subprocess.check_output([str(Path(sys.executable).parent / "tox"), "-h"])

0 commit comments

Comments
 (0)