Explorar o código

Make sure to pass `posargs` for Tox testenvs

Luke Murphy %!s(int64=6) %!d(string=hai) anos
pai
achega
7974219389
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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}