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
|
||||
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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue