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 -r{toxinidir}/requirements_test.txt
commands = commands =
python script/gen_requirements_all.py validate python script/gen_requirements_all.py validate
flake8 flake8 {posargs}
pydocstyle homeassistant tests pydocstyle {posargs:homeassistant tests}
[testenv:typing] [testenv:typing]
basepython = {env:PYTHON3_PATH:python3} basepython = {env:PYTHON3_PATH:python3}