mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Use posargs in tox lint env (#16646)
Allows linting specified files or dirs only.
This commit is contained in:
parent
227a1b919b
commit
d4b7057a3d
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…
x
Reference in New Issue
Block a user