This repository was archived by the owner on Feb 16, 2023. It is now read-only.
CI check to enforce whitespace consistency #1108
mtlynch
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
Hello! Good idea. I'd say |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I notice that paperless-ng's source files have inconsistent whitespace. Some files end with a trailing newline, whereas others don't.
Several files also include lines that end in extraneous blank spaces:
Would you be open to a PR that fixes both of these issues repo-wide and introduces CI checks that prevent them from recurring? I can submit the fixes, as I've done the same thing in all of my repos:
If you're open to a similar implementation, where would be a good place to put the checker scripts?
scripts
doesn't seem like the right fit because these are not scripts that serve a purpose in production. Would a top-level folder calleddev-scripts
work? And I could add a Github action to call these scripts on PRs.Beta Was this translation helpful? Give feedback.
All reactions