I have setup the dev container, it works great. Although tox is not recognized in bash terminal, I can still execute pylint, flake8, black and py.test inside manually, which is good enough.
But how do I start Home Assistant inside the container, so I can manually test the code?
I hesitated to reply since I don’t use a dev container, but what exactly is the issue you have? Is it starting the home assistant server with the current branch code, or accessing the frontend from the container? For the former, I don’t use the dev container, but if it is similar to using a virtual environment, you would
mkdir config
hass -c config
You may need to install the dependencies before this. I don’t know the recommended method, but I run pip install -e . from the root folder to install the dependencies before running hass. This works for me when done all inside the virtual environment. For the latter, I can’t help you.