scottyphillips / pychonet

A simple to use library for interfacing with the ECHONETlite protocol
GNU General Public License v3.0
19 stars 17 forks source link

Coding style fixes #37

Closed tom3q closed 2 years ago

tom3q commented 2 years ago

Hey, I've finally managed to start working on my contributions for this project, but as a preparation I thought it would be nice to make the code pass some basic linter checks (I use flake8). The diff is kind of disturbing but IMHO the benefit of having a consistent coding style will show up as more contributions come in the future. WDYT?

tom3q commented 2 years ago

Hmm, looks like Home Assistant uses Black for code formatting [1]. Let me rework this PR to account for it.

[1] https://developers.home-assistant.io/docs/development_guidelines