Commit graph

10 commits

Author SHA1 Message Date
Paulus Schoutsen
276ab191b5 Do not use the cache dir for PIP installs () 2019-06-01 10:04:12 +02:00
Pascal Vizeli
d9852bc75d Support Hass.io wheels / docker env ()
* Support Hass.io wheels / docker env

* address comments

* fix lint
2019-05-29 15:30:09 -07:00
Paulus Schoutsen
179fb0f3b5
Use importlib metadata to check installed packages ()
* Use importlib metadata

* Fix script

* Remove unused import

* Update requirements"
2019-05-26 11:58:42 -07:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ()
* Don't pass in loop

* Revert some changes

* Lint + Axis revert

* reinstate loop

* Fix a test

* Set loop

* Update camera.py

* Lint
2019-05-22 21:09:59 -07:00
Paulus Schoutsen
09dc4d663d
Improve package loadable ()
* Add caching to package loadable

* Fix tests

* Improve package loadable

* Lint

* Typing
2018-08-28 12:52:18 +02:00
Ville Skyttä
dc01b17260 Some typing related fixes ()
* Fix FlowManager.async_init handler type

It's not a Callable, but typically a key pointing to one in a dict.

* Mark pip_kwargs return type hint as Any-valued dict

install_package takes other than str args too.
2018-08-09 22:53:12 +02:00
Andrey
140a874917 Add typing to homeassistant/*.py and homeassistant/util/ ()
* Add typing to homeassistant/*.py and homeassistant/util/

* Fix wrong merge

* Restore iterable in OrderedSet

* Fix tests
2018-07-23 10:24:39 +02:00
Paulus Schoutsen
38af04c6ce
Reinstate our old virtual env check in favor of pip () 2018-03-05 15:51:37 -08:00
Julius Mittenzwei
16cb7388ee Removing asyncio.coroutine syntax from HASS core ()
* changed asyncio.coroutine syntax to new async def/await

* removed py34 from tox environment

* reverted some changes within entity.py

* -

* reverted changes within bootstrap.py

* reverted changes within discovery.py

* switched decorators

* Reverted change within aiohttp_client.py

* reverted change within logging.py

* switched decorators

* Await lock properly

* removed asyncio.coroutine from test
2018-02-25 03:38:46 -08:00
Paulus Schoutsen
ec1c395f09 Extract requirements () 2018-01-30 12:30:47 +01:00