Principia icon indicating copy to clipboard operation
Principia copied to clipboard

Clean up the linter

Open eggrobin opened this issue 6 years ago • 1 comments

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 avatar Aug 17 '19 12:08 eggrobin

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

eggrobin avatar Apr 25 '23 03:04 eggrobin