ソースを参照

Pass positional arguments to Tox environments commands.

Dan Helfman 6 年 前
コミット
9893834e85
1 ファイル変更2 行追加2 行削除
  1. 2 2
      tox.ini

+ 2 - 2
tox.ini

@@ -23,12 +23,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}