Skip to content

Conversation

@hashar
Copy link
Contributor

When invoking an environement, one might want to pass extra argument to
the command. That is done in tox by invoking an env and passing the
extra arguments after '--' which are then available as '{posargs}'.

Examples:

Reports flake8 error statistics

tox -eflake8 -- --statistics

Only run test_util.py tests, printing a line per test:

tox -epy27 -- --verbose git/test/test_util.py

When invoking an environement, one might want to pass extra argument to the command. That is done in tox by invoking an env and passing the extra arguments after '--' which are then available as '{posargs}'. Examples: # Reports flake8 error statistics tox -eflake8 -- --statistics # Only run test_util.py tests, printing a line per test: tox -epy27 -- --verbose git/test/test_util.py
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 18fff4d on hashar:tox into * on gitpython-developers:0.3*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 18fff4d on hashar:tox into * on gitpython-developers:0.3*.

@Byron
Copy link
Member

Thanks !

Byron added a commit that referenced this pull request Nov 15, 2014
tox commands now have{posargs} as argument
@ByronByron merged commit 9c39afa into gitpython-developers:0.3Nov 15, 2014
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@hashar@coveralls@Byron