소스 검색

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 .