Fabian-Schmidt / esphome-victron_ble

Use official Victron BLE endpoint for fetching data from Victron devices via Bluetooth LE via ESPHome.
GNU General Public License v3.0
152 stars 15 forks source link

Apply black #6

Closed syssi closed 1 year ago

syssi commented 1 year ago
isort *.py
black *.py
Fabian-Schmidt commented 1 year ago

Sorry I hate python already and find that it looks shit. But afterwards this looks even worse. This cannot be best practice.

The sorting is fine, but the multi line stuff is very hard to read after the 'black' applied (assumption).

syssi commented 1 year ago

Feel free to close this merge request but it's the code style required by ESPHome. If you want to merge your component into ESPHome some day you will not get around it.