Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tox conf #918

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 26 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@

[tox]
# pypy3 currently fails because of a Flask issue
envlist = py37
envlist =
codestyle
security
py36
py37
py38
py39

skip_missing_interpreters = true


[testenv]
Expand All @@ -15,9 +23,20 @@ deps =


commands =
# NOTE: the order of the directories in posargs seems to matter.
# When changed, then many ImportMismatchError exceptions occurrs.
py.test \
--verbose \
--doctest-modules \
{posargs:./httpie ./tests}
py.test --verbose --doctest-modules {posargs}


[testenv:codestyle]
deps = pycodestyle

commands = pycodestyle


[testenv:security]
deps =
bandit
safety

commands =
bandit -ll -r httpie
safety check