2
0
Эх сурвалжийг харах

Make sure to pass `posargs` for Tox testenvs

Luke Murphy 6 жил өмнө
parent
commit
7974219389
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  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}