idontgetoutmuch / random

Random number library
Other
3 stars 2 forks source link

Format random.cabal with `cabal format` #173

Open curiousleo opened 4 years ago

curiousleo commented 4 years ago

... for consistency's sake.

Ideally this would be checked in CI, but that may be overkill.

lehins commented 4 years ago

I don't consider any inconsistency in formatting to be a mistake, especially in cabal file. Putting such check in a CI would be a mistake, because this would require every future contributor to have cabal installed and make them use it. So yes, I also think it would be an overkill.

I am definitely not against pretty and consistent formatting, so an occasional cabal format, maybe before each release, would certainly be a good thing to do.