forked from mileperhour/localtuya-homeassistant
-
Notifications
You must be signed in to change notification settings - Fork 533
HOWTO: Running tox manually (for developers)
rospogrigio edited this page Oct 22, 2020
·
1 revision
Start by installing tox
:
pip install --upgrade tox
Then just run tox
in the repo main directory.
To re-format code, just type black .
. Make sure you have it installed (together with other test tools):
pip install -r requirements_test.txt
NB: If you ever change a dependency in requirements_test.txt
, you must re-create the environment in tox with tox -r
!