From 6fb5b8467b4f54b409388f370d7c98c7f5a7f1e6 Mon Sep 17 00:00:00 2001 From: Ian Date: Wed, 24 Apr 2019 21:30:46 -0700 Subject: [PATCH] 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. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d0c4336f544..003861d2107 100644 --- a/tox.ini +++ b/tox.ini @@ -32,7 +32,7 @@ commands = deps = -r{toxinidir}/requirements_test.txt commands = - python script/gen_requirements_all.py validate + python -m script.gen_requirements_all validate flake8 {posargs} pydocstyle {posargs:homeassistant tests}