mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Fix tox.ini lint target (#23359)
tox fails due to being unable to reference the `script` module when trying to run `script/gen_requirements_all.py`. Instead it needs to be run as a module.
This commit is contained in:
parent
24766df179
commit
6fb5b8467b
2
tox.ini
2
tox.ini
@ -32,7 +32,7 @@ commands =
|
|||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements_test.txt
|
-r{toxinidir}/requirements_test.txt
|
||||||
commands =
|
commands =
|
||||||
python script/gen_requirements_all.py validate
|
python -m script.gen_requirements_all validate
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
pydocstyle {posargs:homeassistant tests}
|
pydocstyle {posargs:homeassistant tests}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user