Skip to content

Commit

Permalink
fix: replace "poetry install --with" with "--extras" in tox.ini
Browse files Browse the repository at this point in the history
Co-authored-by: ted chang <[email protected]>
Signed-off-by: Vassilis Vassiliadis <[email protected]>
  • Loading branch information
VassilisVassiliadis and tedhtchang authored Jul 2, 2024
1 parent d275177 commit d939b0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ allowlist_externals=
pytest
poetry
commands_pre =
poetry install --with dev --no-root
poetry install --extras dev --no-root
commands =
pip freeze
pytest {posargs:tests}

[testenv:fmt]
description = format with pre-commit
commands_pre =
poetry install --with dev --no-root
poetry install --with extras --no-root
commands =
./scripts/fmt.sh
allowlist_externals =
Expand All @@ -25,7 +25,7 @@ allowlist_externals =
[testenv:lint]
description = lint with pylint
commands_pre =
poetry install --with dev --no-root
poetry install --extras dev --no-root
commands = pylint tuning scripts/*.py build/*.py tests
allowlist_externals =
poetry
Expand Down Expand Up @@ -53,7 +53,7 @@ allowlist_externals=
coverage
genbadge
commands_pre =
poetry install --with dev
poetry install --extras dev
commands =
coverage run --omit='*/_version.py,*/launch_training.py' \
--source=tuning,build \
Expand Down

0 comments on commit d939b0c

Please sign in to comment.