Hi,
I’m working on a new component to integrate the Mercedes ME API and fighting with an “import-error” in tox -e pylint.
The new component run’s well in DEV, all other builds are fine.
Based on the development pages, I checked:
- REQUIREMENTS in the head of the component
- the imports are in the setup method
- executed gen_scripts,
- checked req_all.txt
- pylint in VS Code with python root directory to the HA venv shows no errors
failing build: https://travis-ci.org/ReneNulschDE/home-assistant/jobs/328319636
component code: https://git.io/vNZxZ
any hints?
Thx
Rene
Are you sure your travis is correctly sat up?
Try to open a pr against main repo.
Thx, I did this already and deleted the PR after hours of checking. see https://github.com/home-assistant/home-assistant/pull/11486
I’ve the same problem also in the local “tox -e pylint” test.
thx
Rene
The mercedesmejsonpy library is missing a __init:__.py
file
1 Like
Thank you. I’ll change the mercedesmejsonpy and check. I’m taking the first steps in python and I was sure that the init.py is only needed in py2.x.
thank you again and I’ll report back,
Rene
I’ve added an empty __init__.py
and now the CI build is successful.
thank you!
Rene