Files
esphome-dev/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
..
2019-12-07 18:28:55 +01:00
2019-12-07 18:53:20 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-10-24 14:19:33 +02:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-10-24 14:19:33 +02:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00