-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added pre-commit hooks to fix indentation and trailing whitespace #203
Added pre-commit hooks to fix indentation and trailing whitespace #203
Conversation
There are a number of warnings yet due to too long lines, above 132 chars.
Now there is no warning anymore from fprettify
(This is a re-application of what I did in ddb2ef9 after merging the recent PRs)
Codecov Report
@@ Coverage Diff @@
## develop #203 +/- ##
===========================================
- Coverage 61.01% 60.96% -0.05%
===========================================
Files 29 29
Lines 16933 16961 +28
===========================================
+ Hits 10331 10340 +9
- Misses 6602 6621 +19
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ndent_from_develop Added pre-commit hooks to fix indentation and trailing whitespace
This uses the
fprettify
code by P. Seewald. This fixes #190This is a big PR because it touches almost every file, but the relevant commits to check would be ddb2ef9 and 6ef21e4 for the manual fixes to long lines, and the ones that add the pre-commit configuration.
Note that the wiki with the contributors guide is already updated to explain how to install and use the prettifier and install the git hooks.