pre-commit: fix .cs files with the trailing-whitespace hook#9794
pre-commit: fix .cs files with the trailing-whitespace hook#9794DaanHoogland merged 3 commits intoapache:mainfrom
.cs files with the trailing-whitespace hook#9794Conversation
|
@blueorangutan package |
|
@jbampton a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9794 +/- ##
=========================================
Coverage 16.07% 16.07%
Complexity 12885 12885
=========================================
Files 5642 5642
Lines 494039 494039
Branches 59912 59912
=========================================
+ Hits 79406 79408 +2
+ Misses 405829 405828 -1
+ Partials 8804 8803 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11341 |
|
@blueorangutan package |
|
@jbampton a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 11872 |
|
@blueorangutan package |
|
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11911 |
DaanHoogland
left a comment
There was a problem hiding this comment.
the hyperv cs files are hardly maintained but the changes look good to me. Did you use a global search and replace for this, @jbampton ? (just want to know what I missed ;)
|
Hey @DaanHoogland we are using the official pre-commit hook https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace This hook is an auto fixer and finds and removes all the trailing whitespace from the files/file types that are checked. |
|
@blueorangutan package |
|
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11957 |
|
@vishesh92 , I don't see a reason to run any tests (other than GHA) on this one, agree? |
I agree |
…he#9794) Co-authored-by: Vishesh <vishesh92@gmail.com>
Description
This PR adds
.csfiles to thetrailing-whitespacepre-commit hook.This hook auto fixes and removes trailing whitespace when run locally on a users machine.
On the GitHub CI it just runs either pass or fail for now.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Ran locally:
pre-commit run --all-filesHow did you try to break this feature and the system with this change?