Use posargs in tox lint env (#16646)

Allows linting specified files or dirs only.
This commit is contained in:
Ville Skyttä 2018-09-19 16:48:04 +03:00 committed by Paulus Schoutsen
parent 227a1b919b
commit d4b7057a3d

View File

@ -49,8 +49,8 @@ deps =
-r{toxinidir}/requirements_test.txt
commands =
python script/gen_requirements_all.py validate
flake8
pydocstyle homeassistant tests
flake8 {posargs}
pydocstyle {posargs:homeassistant tests}
[testenv:typing]
basepython = {env:PYTHON3_PATH:python3}