Skip to content
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

ci: add whitespace check #1881

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Commits on Mar 6, 2024

  1. ci: add whitespace check

    This adds a whitespace check to the CI that fails if there is trailing
    white space or a file does not end with a newline.
    
    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: f0c063fd-98da-45ac-8ad8-a79a093f737b -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    3510946 View commit details
    Browse the repository at this point in the history
  2. add script to remove trailing whitespace

    <!-- ps-id: 925b1ad7-6f77-4af7-9bcc-67adb5a6f2f9 -->
    
    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    e561398 View commit details
    Browse the repository at this point in the history
  3. add script to fix end newlines

    <!-- ps-id: 1af6c3bc-7c17-40af-b082-6c263579d996 -->
    
    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    85fe59a View commit details
    Browse the repository at this point in the history
  4. fix end newlines in repo

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: cc54f85f-455b-454f-91a6-069e3be58f99 -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    07f2da5 View commit details
    Browse the repository at this point in the history
  5. ci: add per-commit whitespace checks

    <!-- ps-id: 27aaca6c-4c08-4edc-86c4-576f379161ef -->
    
    Signed-off-by: Ali Caglayan <[email protected]>
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    7690d50 View commit details
    Browse the repository at this point in the history
  6. check entire diff rather than each commit

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: f20d7036-af32-4dc7-8497-a4fc436e560e -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    b752ab6 View commit details
    Browse the repository at this point in the history
  7. fix

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: 070a142f-9cf5-4141-a1f0-02b2504cd70d -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    7047659 View commit details
    Browse the repository at this point in the history
  8. REMOVE: add some superfluous whitespace

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: 895e000d-e169-4a6b-a2d4-e2a3a25dde57 -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    67ab29e View commit details
    Browse the repository at this point in the history
  9. try to fix check

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: 5a7ce2f1-dfb6-4426-99e5-8ba60f468934 -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    5ef0950 View commit details
    Browse the repository at this point in the history
  10. fx

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: ae1e2e79-392a-47d3-906b-8d45142cd5f1 -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    31e7d1f View commit details
    Browse the repository at this point in the history
  11. fx`

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: c846bb6b-9189-4f94-a9cd-1c352e7866e9 -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    ccdbf15 View commit details
    Browse the repository at this point in the history
  12. fx

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: b4894953-798e-44fe-98a4-e4d6772f7617 -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    45e467b View commit details
    Browse the repository at this point in the history
  13. fx

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: 56342511-dc5b-49c6-87ac-08def4397d93 -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    e524240 View commit details
    Browse the repository at this point in the history
  14. fx

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: 3d7515f0-da9f-487c-a21b-c7d543f84d67 -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    8ea5557 View commit details
    Browse the repository at this point in the history
  15. fix

    Signed-off-by: Ali Caglayan <[email protected]>
    
    <!-- ps-id: fb46e55d-ab1f-4436-b100-38c54d80e13f -->
    Alizter committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    dee36b9 View commit details
    Browse the repository at this point in the history