-
- Downloads
More typing (#15449)
## Description: More typing improvements. Switch to using `mypy.ini` for flexibility Add `warn_return_any` check except in `homeassistant.util.yaml` that does typing hacks. Fix some type annotations as resulting from this check and ignore others were fixing is hard. ## Checklist: - [x] The code change is tested and works locally. - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
Showing
- homeassistant/config.py 6 additions, 7 deletionshomeassistant/config.py
- homeassistant/core.py 6 additions, 5 deletionshomeassistant/core.py
- homeassistant/loader.py 1 addition, 1 deletionhomeassistant/loader.py
- homeassistant/remote.py 1 addition, 1 deletionhomeassistant/remote.py
- homeassistant/setup.py 3 additions, 3 deletionshomeassistant/setup.py
- homeassistant/util/json.py 1 addition, 1 deletionhomeassistant/util/json.py
- mypy.ini 11 additions, 0 deletionsmypy.ini
- tox.ini 1 addition, 1 deletiontox.ini
Loading
Please register or sign in to comment