Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Use python -m instead pip directly.
Browse files Browse the repository at this point in the history
It's recommend to use this way. With tox is not really necessary to do
it but it can be good to use it. See this article[1], For example python -m pip executes pip using the Python interpreter you specified as python.

[1] https://snarky.ca/why-you-should-use-python-m-pip/

Change-Id: Ie4be214cce624bc73b8d6661ed459becb418ffa0
  • Loading branch information
damani42 committed Nov 18, 2022
1 parent 219b1bd commit 5c34b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ allowlist_externals =
bash
commands_pre =
ansible-galaxy collection install ansible.posix containers.podman
pip install -q bindep fixtures
python -m pip install -q bindep fixtures
bindep test
commands =
pytest --color=no \
Expand Down

0 comments on commit 5c34b2f

Please sign in to comment.