NREL / gdx-pandas

Python interface to read and write GAMS GDX files using pandas.DataFrames as the intermediate data format.
BSD 3-Clause "New" or "Revised" License
43 stars 15 forks source link

Stylize existing code with automatic formatter #59

Closed jebob closed 5 years ago

jebob commented 5 years ago

There is lots of code that doesn't follow PEP8, the python style guide. Rather than formatting everything by hand, is it worth using an automatic formatter? I am personally fond of Black and would be happy to submit a PR.

jebob commented 5 years ago

Here is an example: https://github.com/jebob/gdx-pandas/tree/black

It does modify the license comments by removing trailing spaces though.