Browse Source

Make sure to pass `posargs` for Tox testenvs

Luke Murphy 6 years ago
parent
commit
7974219389
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tox.ini

+ 2 - 2
tox.ini

@@ -19,12 +19,12 @@ commands =
 [testenv:black]
 basepython = python3.7
 commands =
-    black .
+    black {posargs} .
 
 [testenv:end-to-end]
 deps = -rtest_requirements.txt
 commands =
-    pytest tests/end-to-end
+    pytest {posargs} tests/end-to-end
 
 [testenv:isort]
 deps = {[testenv]deps}