Use posargs in tox lint env (#16646)
Allows linting specified files or dirs only.
This commit is contained in:
parent
227a1b919b
commit
d4b7057a3d
1 changed files with 2 additions and 2 deletions
4
tox.ini
4
tox.ini
|
@ -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}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue