UU-Hydro / PCR-GLOBWB_model

PCR-GLOBWB (PCRaster Global Water Balance) is a large-scale hydrological model intended for global to regional studies and developed at the Department of Physical Geography, Utrecht University (Netherlands). Contact: Edwin Sutanudjaja (E.H.Sutanudjaja@uu.nl).
GNU General Public License v3.0
116 stars 79 forks source link

Get rid of useless white space in the code #28

Open kordejong opened 7 months ago

kordejong commented 7 months ago

The model code is littered with useless white space. Editors that are configured to show white space, like mine, make it hard to read the code. See also the first item here: https://peps.python.org/pep-0008/#other-recommendations

Suggestion: use a pre-commit hook to prevent spurious space to end up in the repository. Something like Black will automatically remove the all useless white space.