esphome/esphome
Tim Savage 30ecb58e06 Bugfix/normalize core comparisons (and Python 3 update fixes) (#952)
* Correct implementation of comparisons to be Pythonic

If a comparison cannot be made return NotImplemented, this allows the
Python interpreter to try other comparisons (eg __ieq__) and either
return False (in the case of __eq__) or raise a TypeError
exception (eg in the case of __lt__).

* Python 3 updates

* Add a more helpful message in exception if platform is not defined

* Added a basic pre-commit check
2020-01-13 14:35:55 -08:00
..
api Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
components Add register_*_effect to allow registering custom effects (#947) 2020-01-12 17:08:48 +01:00
core Fix CI 2019-12-07 18:53:20 +01:00
dashboard Use b''.decode() instead of str(b'') (#941) 2020-01-09 13:23:25 -08:00
__init__.py Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
__main__.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
automation.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
codegen.py Logger on_message trigger (#729) 2019-10-24 14:19:33 +02:00
config.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
config_helpers.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
config_validation.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
const.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
core.py Bugfix/normalize core comparisons (and Python 3 update fixes) (#952) 2020-01-13 14:35:55 -08:00
core_config.py Adding the espressif 2.6.3 (#944) 2020-01-09 13:25:35 -08:00
cpp_generator.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
cpp_helpers.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
cpp_types.py Logger on_message trigger (#729) 2019-10-24 14:19:33 +02:00
espota2.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
helpers.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
legacy.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
mqtt.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
pins.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
platformio_api.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
py_compat.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
storage_json.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
symlink_ops.py Better symlink support under Windows (#487) 2019-03-23 22:58:25 +01:00
util.py fix: only decode when not str already (#923) 2019-12-30 23:23:03 -03:00
voluptuous_schema.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
vscode.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
wizard.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
writer.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
yaml_util.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
zeroconf.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00