Paulus Schoutsen
fbc1c41673
Logbook context ( #16937 )
...
* Convert logbook to use attr
* Add context to events
* Enhance logbook
* Lint
* Fix logbook entry
* Don't use intermediary classes for logbook entries
2018-10-01 16:12:25 +02:00
Fabian Affolter
35005474f8
Upgrade keyring to 15.1.0 ( #16734 )
2018-09-20 11:11:08 +02:00
Ville Skyttä
ee696643cd
Isort preparations ( #16555 )
...
* Don't treat typing as an "in-between" module for import order
That was a < 3.5 era thing.
* Tighten scope of some pylint unused-import disables
To avoid isort moving a top level one around, undesirably broadening its
scope.
2018-09-11 11:21:48 +02:00
Fabian Affolter
c20f147949
Upgrade keyring to 15.0.0 ( #16536 )
2018-09-10 13:35:47 +02:00
Jason Hu
7e7f9bc6ac
Add multi-factor authentication modules ( #15489 )
...
* Get user after login flow finished
* Add multi factor authentication support
* Typings
2018-08-22 09:52:34 +02:00
Martin Hjelmare
07840f5397
Fix check config packages key error ( #15840 )
...
* Fix packages deletion in check_config script
* The config key for packages is not present if core config validation
failed. We need to do a safe dict deletion using dict.pop.
* Add check_config test for bad core config
2018-08-17 05:28:00 +02:00
Ville Skyttä
3246b49a45
Upgrade pylint to 2.1.0 ( #15811 )
...
* Upgrade pylint to 2.1.0
* Remove no longer needed pylint disables
2018-08-04 15:22:22 +02:00
Ville Skyttä
eee9b50b70
Upgrade pylint to 2.0.1 ( #15683 )
...
* Upgrade pylint to 2.0.1
* Pylint 2 bad-whitespace fix
* Pylint 2 possibly-unused-variable fixes
* Pylint 2 try-except-raise fixes
* Disable pylint fixme for todoist for now
https://github.com/PyCQA/pylint/pull/2320
* Disable pylint 2 useless-return for now
https://github.com/PyCQA/pylint/issues/2300
* Disable pylint 2 invalid-name for type variables for now
https://github.com/PyCQA/pylint/issues/1290
* Disable pylint 2 not-an-iterable for now
https://github.com/PyCQA/pylint/issues/2311
* Pylint 2 unsubscriptable-object workarounds
* Disable intentional pylint 2 assignment-from-nones
* Disable pylint 2 unsupported-membership-test apparent false positives
* Disable pylint 2 assignment-from-no-return apparent false positives
* Disable pylint 2 comparison-with-callable false positives
https://github.com/PyCQA/pylint/issues/2306
2018-07-26 08:55:42 +02:00
Ville Skyttä
b7c336a687
Pylint cleanups ( #15626 )
...
* Pylint 2 no-else-return fixes
* Remove unneeded abstract-class-not-used pylint disable
2018-07-23 10:16:05 +02:00
Paulus Schoutsen
2fcacbff23
Allow auth providers to influence is_active ( #15557 )
...
* Allow auth providers to influence is_active
* Fix auth script test
2018-07-19 22:10:36 +02:00
Ville Skyttä
bf17ed0917
More pylint 2 fixes ( #15516 )
...
* Pylint 2 useless-import-alias fixes
* Pylint 2 chained-comparison fixes
* Pylint 2 consider-using-get fixes
* Pylint 2 len-as-condition fixes
2018-07-18 11:54:27 +02:00
Fabian Affolter
1007bb83aa
Upgrade keyring to 13.2.1 ( #15453 )
2018-07-13 20:02:13 +02:00
Paulus Schoutsen
70fe463ef0
User management ( #15420 )
...
* User management
* Lint
* Fix dict
* Reuse data instance
* OrderedDict all the way
2018-07-13 15:31:20 +02:00
Paulus Schoutsen
b6ca03ce47
Reorg auth ( #15443 )
2018-07-13 11:43:08 +02:00
Fabian Affolter
b5c7afcf75
Upgrade keyring to 13.2.0 ( #15322 )
2018-07-07 11:06:00 +02:00
Fabian Affolter
120111ceee
Upgrade keyring to 13.1.0 ( #15268 )
2018-07-02 23:03:56 +02:00
Paulus Schoutsen
26590e244c
Migrate home assistant auth provider to use storage helper ( #15200 )
2018-06-29 00:02:45 -04:00
Fabian Affolter
ba50a5c329
Upgrade keyring to 13.0.0 ( #15167 )
2018-06-27 12:11:41 +02:00
Ville Skyttä
b92350fb55
Lint cleanup ( #15103 )
...
* Remove unneeded inline pylint disables
* Remove unneeded noqa's
* Use symbol names instead of message ids in inline pylint disables
2018-06-25 13:05:07 -04:00
Paulus Schoutsen
0b114f0755
Do not mount deps folder when running in virtual env ( #14993 )
...
* Do not mount deps folder when inside virtual env
* Add tests
* Fix package test
2018-06-16 10:48:41 -04:00
Fabian Affolter
46dc9322a2
Upgrade keyring to 12.2.1 ( #14521 )
2018-05-19 10:04:42 +02:00
Paulus Schoutsen
ea01b127c2
Add local auth provider ( #14365 )
...
* Add local auth provider
* Lint
* Docstring
2018-05-10 14:09:22 -04:00
Fabian Affolter
2c566072f5
Upgrade keyring to 12.2.0 and keyrings.alt to 3.1 ( #14355 )
2018-05-09 11:31:18 +02:00
Paulus Schoutsen
83d300fd11
Custom component loading cleanup ( #14211 )
...
* Clean up custom component loading
* Fix some tests
* Fix some stuff
* Make imports work again
* Fix tests
* Remove debug print
* Lint
2018-05-01 20:57:30 +02:00
Fabian Affolter
1d41321f8f
Upgrade colorlog to 3.1.4 ( #14132 )
2018-04-28 14:03:09 +02:00
Jonas Skoogh
c361b0c450
Check_config: Handle numbers correctly when printing config ( #13377 )
2018-03-30 22:50:08 +02:00
Fabian Affolter
eaf81150ea
Upgrade keyring to 12.0.0 and keyrings.alt to 3.0 ( #13452 )
2018-03-25 14:23:53 +02:00
Otto Winter
27c1806897
Python 3.5 adjustments ( #13173 )
2018-03-15 13:10:54 +02:00
Johann Kellerman
f164a5a65f
Better errors for unknown secrets ( #13072 )
2018-03-11 12:51:03 +02:00
Johann Kellerman
40485a6e89
Ensure we have valid config AFTER merging packages #13015 ( #13038 )
...
* Ensure we have valid config AFTER merging packages #13015
* also fix packages
2018-03-10 10:02:04 -08:00
Johann Kellerman
6734c966b3
check_config script evolution ( #12792 )
...
* Initial async_check_ha_config_file
* check_ha_config_file
* Various fixes
* feedback - return the config
* move_to_check_config
2018-03-08 19:34:24 -08:00
Johann Kellerman
6ed765698a
Check_config await error ( #12722 )
...
* not awaited
* hounded
2018-02-27 12:29:17 -08:00
Julius Mittenzwei
16cb7388ee
Removing asyncio.coroutine syntax from HASS core ( #12509 )
...
* 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
Anders Melchiorsen
f9ee29a5cd
Logbook speedup ( #12566 )
...
* Optimize logbook filtering
* Avoid State construction during Events filtering
* Move tuple creation out of loop
* Add benchmark
2018-02-21 10:35:55 -08:00
Otto Winter
678f284015
Upgrade pylint to 1.8.2 ( #12274 )
...
* Upgrade pylint to 1.8.1
* Fix no-else-return
* Fix bad-whitespace
* Fix too-many-nested-blocks
* Fix raising-format-tuple
See https://github.com/PyCQA/pylint/blob/master/doc/whatsnew/1.8.rst
* Fix len-as-condition
* Fix logging-not-lazy
Not sure about that TEMP_CELSIUS though, but internally it's probably just like if you concatenated any other (variable) string
* Fix stop-iteration-return
* Fix useless-super-delegation
* Fix trailing-comma-tuple
Both of these seem to simply be bugs:
* Nest: The value of self._humidity never seems to be used anywhere
* Dovado: The called API method seems to expect a "normal" number
* Fix redefined-argument-from-local
* Fix consider-using-enumerate
* Fix wrong-import-order
* Fix arguments-differ
* Fix missed no-else-return
* Fix no-member and related
* Fix signatures-differ
* Revert "Upgrade pylint to 1.8.1"
This reverts commit af78aa00f125a7d34add97b9d50c14db48412211.
* Fix arguments-differ
* except for device_tracker
* Cleanup
* Fix test using positional argument
* Fix line too long
I forgot to run flake8 - shame on me... 🙃
* Fix bad-option-value for 1.6.5
* Fix arguments-differ for device_tracker
* Upgrade pylint to 1.8.2
* 👕 Fix missed no-member
2018-02-11 09:20:28 -08:00
Paulus Schoutsen
8b9eab196c
Attempt fixing flakiness of check config test ( #12283 )
...
* Attempt fixing check_config script test flakiness
* Fix logging
* remove cleanup as Python will exit
* Make sure we don't enqueue magicmocks
* Lint
* Reinstate cleanup as it broke secret tests
2018-02-11 09:00:02 -08:00
Johann Kellerman
65c6f72c9d
check_config check bootstrap errors ( #12291 )
2018-02-10 23:40:48 -08:00
Fabian Affolter
424fe95ce4
Upgrade keyring to 11.0.0 ( #12082 )
...
* Upgrade keyring to 11.0.0
* Address the removal of 'keyring.__version__'
2018-01-31 09:03:20 -08:00
Taylor Peet
434d2afbfc
Influx import improvements ( #11988 )
...
* Influx import improvements
* fix line length issues
* fixing pylint spaces
* Added refined except clause
* Fix progress bar and exclude issues
* fix travis lint too many blank lines
* Minor changes
2018-01-31 11:39:15 +01:00
Ville Skyttä
cab6c694c5
Flake8 bugbear fixes ( #12072 )
...
* Don't use mutable argument defaults (bugbear B006)
* Use callable(x) instead of hasattr(x, '__call__') (bugbear B004)
* Remove/mark unused loop control variables (bugbear B007)
* Fix stripping protocol from kodi host name (bugbear B005)
* Fix plant daily history add default date (bugbear B008)
2018-01-30 14:44:05 -08:00
Paulus Schoutsen
ec1c395f09
Extract requirements ( #12051 )
2018-01-30 12:30:47 +01:00
Otto Winter
8dcfd35b8b
Spelling fixes ( #12041 )
...
* Spelling fixes
*Lots* of them.
* Spelling breaking changes
* Fix lint errors
2018-01-29 23:37:19 +01:00
Robert Schütz
2b68bec428
check_config.py: allow colorlog==3.1. ( #11927 )
2018-01-26 10:43:55 -08:00
Fabian Affolter
47e31dc9ee
Fixes for PEP257 ( #11810 )
...
* Fixes for PEP257
* More updates
2018-01-20 22:35:38 -08:00
Fabian Affolter
5656b0eb2c
Upgrade keyring to 10.6.0 ( #11608 )
2018-01-13 09:02:25 +01:00
Fabian Affolter
c4bc42d527
Upgrade keyring to 10.3.2 ( #11531 )
2018-01-09 19:51:35 -08:00
Fabian Affolter
9b8c64c8b6
Upgrade credstash to 1.14.0 ( #10310 )
2017-11-03 13:51:17 +01:00
TopdRob
6057b41151
update boto3 to 1.4.7 and botocore to 1.7.34 ( #10121 )
2017-10-29 10:24:56 +01:00
Paulus Schoutsen
79b029a680
Do not auto-install credstash ( #9844 )
2017-10-12 23:57:45 -07:00
Paulus Schoutsen
8f06b35dfc
Optimize event matcher ( #9798 )
...
* Optimize event matcher
* Tweak order of checks
* Add a benchmark for time_changed helper
* Add state change benchmark
* fix lint
2017-10-10 22:26:03 +02:00