AstarVienna / skycalc_ipy

iPython version of skycalc_cli
GNU General Public License v3.0
4 stars 7 forks source link

Blacken #15

Closed hugobuddel closed 1 year ago

hugobuddel commented 1 year ago

Use black to clean up the code. Now all warnings in my IDE are gone

teutoburg commented 1 year ago

Do you know what's up with the failing test on 3.11?

hugobuddel commented 1 year ago

The test is failing because of a network error. That is the problem I actually intend to fix, in #16 and #17. However, my IDE (PyCharm) was complaining about so many stylistic problems, that I decided to 'fix' those first.

This PR is indeed just running 'black' on the codebase. I don't agree with everything black does, but well, it is good enough for me. I'm happy with any coding style that can easily be automated (e.g. in an IDE).