Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tox commands now have {posargs} as argument#202

Merged
Byron merged 1 commit into
gitpython-developers:0.3gitpython-developers/GitPython:0.3from
hashar:toxhashar/GitPython:toxCopy head branch name to clipboard
Nov 15, 2014
Merged

tox commands now have {posargs} as argument#202
Byron merged 1 commit into
gitpython-developers:0.3gitpython-developers/GitPython:0.3from
hashar:toxhashar/GitPython:toxCopy head branch name to clipboard

Conversation

@hashar

@hashar hashar commented Nov 14, 2014

Copy link
Copy Markdown
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
Copy Markdown

Coverage Status

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

@coveralls

Copy link
Copy Markdown

Coverage Status

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

@Byron

Byron commented Nov 15, 2014

Copy link
Copy Markdown
Member

Thanks !

Byron added a commit that referenced this pull request Nov 15, 2014
tox commands now have {posargs} as argument
@Byron Byron merged commit 9c39afa into gitpython-developers:0.3 Nov 15, 2014
Sign up for free to 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.