Skip to content

Commit d939b0c

Browse files
fix: replace "poetry install --with" with "--extras" in tox.ini
Co-authored-by: ted chang <htchang@us.ibm.com> Signed-off-by: Vassilis Vassiliadis <43679502+VassilisVassiliadis@users.noreply.github.com>
1 parent d275177 commit d939b0c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ allowlist_externals=
77
pytest
88
poetry
99
commands_pre =
10-
poetry install --with dev --no-root
10+
poetry install --extras dev --no-root
1111
commands =
1212
pip freeze
1313
pytest {posargs:tests}
1414

1515
[testenv:fmt]
1616
description = format with pre-commit
1717
commands_pre =
18-
poetry install --with dev --no-root
18+
poetry install --with extras --no-root
1919
commands =
2020
./scripts/fmt.sh
2121
allowlist_externals =
@@ -25,7 +25,7 @@ allowlist_externals =
2525
[testenv:lint]
2626
description = lint with pylint
2727
commands_pre =
28-
poetry install --with dev --no-root
28+
poetry install --extras dev --no-root
2929
commands = pylint tuning scripts/*.py build/*.py tests
3030
allowlist_externals =
3131
poetry
@@ -53,7 +53,7 @@ allowlist_externals=
5353
coverage
5454
genbadge
5555
commands_pre =
56-
poetry install --with dev
56+
poetry install --extras dev
5757
commands =
5858
coverage run --omit='*/_version.py,*/launch_training.py' \
5959
--source=tuning,build \

0 commit comments

Comments
 (0)