Upgrade pylint to 2.2.2 (#18750)

* Upgrade to 2.2.0

* simplifiable-if-expression fixes

* duplicate-string-formatting-argument fixes

* unused-import fixes

* Upgrade to 2.2.1

* Remove no longer needed disable

* Upgrade to 2.2.2
This commit is contained in:
Ville Skyttä 2018-12-06 12:54:44 +02:00 committed by Paulus Schoutsen
parent 04c7d5c128
commit 1be440a72b
19 changed files with 35 additions and 40 deletions

View file

@ -179,10 +179,8 @@ def _setup_bme680(config):
sensor_handler = BME680Handler(
sensor,
True if (
SENSOR_GAS in config[CONF_MONITORED_CONDITIONS] or
SENSOR_AQ in config[CONF_MONITORED_CONDITIONS]
) else False,
(SENSOR_GAS in config[CONF_MONITORED_CONDITIONS] or
SENSOR_AQ in config[CONF_MONITORED_CONDITIONS]),
config[CONF_AQ_BURN_IN_TIME],
config[CONF_AQ_HUM_BASELINE],
config[CONF_AQ_HUM_WEIGHTING]