Skip to content

Commit

Permalink
get rid of poetry run. It is probably not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
muxator committed Sep 19, 2024
1 parent 379c280 commit 6f861cb
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 @@ -20,7 +20,7 @@ setenv =
[testenv:py{39,310,311,312}]
commands_pre = poetry install --only main --only testenv --sync
commands =
poetry run pytest \
pytest \
--basetemp={envtmpdir} \
black_it tests/ \
--cov=black_it \
Expand Down Expand Up @@ -74,15 +74,15 @@ commands = make darglint
# From Poetry FAQ "Is tox supported?" (https://python-poetry.org/docs/faq/#use-case-2)
commands_pre = poetry install --only main --only docs --sync
commands =
poetry run mkdocs build --clean
mkdocs build --clean

[testenv:docs-serve]
# From Poetry FAQ "Is tox supported?" (https://python-poetry.org/docs/faq/#use-case-2)
commands_pre = poetry install --only main --only docs --sync
commands =
poetry run mkdocs build --clean
mkdocs build --clean
python -c 'print("###### Starting local server. Press Control+C to stop server ######")'
poetry run mkdocs serve
mkdocs serve

[testenv:check-copyright]
deps =
Expand Down

0 comments on commit 6f861cb

Please sign in to comment.