mockingbirdnest / Principia

𝑛-Body and Extended Body Gravitation for Kerbal Space Program
MIT License
746 stars 67 forks source link

Clean up the linter #2287

Open eggrobin opened 4 years ago

eggrobin commented 4 years ago

The linter we use already has some changes from the original (I gave it Python 3 support sometime around 2015, I think we did something about if constexpr, etc.), but it was never put under source control; we should put it on github (maybe as a fork of https://github.com/google/styleguide, or of https://github.com/cpplint/cpplint which seems to actually be maintained, maybe just on its own).

whitespace/braces spamming structured bindings is a pain; there is an open pull request on google/styleguide for that.

eggrobin commented 1 year ago

https://github.com/mockingbirdnest/styleguide/commit/79cb6eed4728321e4443f8bb019ba718aec06213. Apparently we are 368 commits behind, but at least it works with Python 3.