Andrew Sayre
5c208da82e
Added recursive detection of functools.partial. ( #20284 )
2019-01-20 22:27:32 -08:00
emontnemery
368682647d
Log exceptions thrown by MQTT message callbacks ( #19977 )
...
* Log exceptions thrown by MQTT message callbacks
* Fix tests
* Correct method for skipping wrapper in traceback
* Lint
* Simplify traceback print
* Add test
* Move wrapper to common helper function
* Typing
* Lint
2019-01-16 13:50:21 -08:00
Andrey
140a874917
Add typing to homeassistant/*.py and homeassistant/util/ ( #15569 )
...
* 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
Ville Skyttä
2f7b79764a
More pylint 2 fixes ( #15565 )
...
## Description:
More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).
## Checklist:
- [ ] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
2018-07-20 11:45:20 +03:00
Andrey
24d2261060
Add check_untyped_defs ( #15510 )
...
* Add check_untyped_defs
* Change to regular if-else
2018-07-18 00:28:44 +02:00
Otto Winter
a4bf421044
Convert more files to async/await syntax ( #14142 )
...
* Move more files to async/await syntax
* Attempt Work around pylint bug
Using lazytox :P
2018-04-28 19:26:20 -04:00
Matthias Urlichs
f5cc40024d
Rename homeassistant.util.async to .async_ ( #13088 )
...
"async" is (going to be) a reserved word.
2018-03-11 10:01:12 -07:00
Ville Skyttä
55ee8959ba
Spelling fixes ( #11940 )
2018-01-27 11:58:27 -08:00
Adam Mills
c4810da82f
Unit tests to improve core coverage ( #9659 )
...
* Code coverage of logging util
* Improve async util coverage
* Add test coverage for restore_state
* get_random_string test
2017-10-02 20:25:04 -07:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Pascal Vizeli
0ecd185f0d
Bugfix close async log handler ( #5086 )
2016-12-29 17:27:58 +01:00
Pascal Vizeli
334b3b8636
Bugfix async log handle re-close bug ( #5034 )
...
* Bugfix async log handle re-close bug
* Check on running thread on async_close
* Fix now on right place
2016-12-22 16:08:01 +01:00
Paulus Schoutsen
01e6bd2c92
Gracefully exit with async logger ( #4965 )
...
* Gracefully exit with async logger
* Lint
2016-12-18 00:14:59 -08:00
Pascal Vizeli
50c8224365
Bugfix async log handler ( #4954 )
...
* Bugfix async log handler
* fix boostrap test
* Use hass.data for store handler and cleanup on async_stop
* Update bootstrap.py
2016-12-17 12:21:52 -08:00
Pascal Vizeli
6d6abab358
Async logging file handler ( #4901 )
...
* Async logging file handler
* add time rotation handle
* new layout
* address paulus comments
* fix lint
2016-12-16 15:51:06 -08:00
Paulus Schoutsen
32ffd006fa
Reorganize HTTP component ( #4575 )
...
* Move HTTP to own folder
* Break HTTP into middlewares
* Lint
* Split tests per middleware
* Clean up HTTP tests
* Make HomeAssistantViews more stateless
* Lint
* Make HTTP setup async
2016-11-25 13:04:06 -08:00