浏览代码

Pass posargs to pytest in main testenv

Luke Murphy 6 年之前
父节点
当前提交
917a0dd0a0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tox.ini

+ 1 - 1
tox.ini

@@ -15,7 +15,7 @@ install_command =
 commands_pre =
     find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -path '*/__pycache__/*' -name '*.py[c|o]' -delete
 commands =
-    pytest
+    pytest {posargs}
     py36,py37: black --check .
     isort --recursive --check-only --settings-path setup.cfg .
     flake8 .