Skip to content

Add shell format pre-commit#40

Merged
Xeratec merged 2 commits intopulp-platform:develfrom
Xeratec:pr/shell_format
Feb 17, 2026
Merged

Add shell format pre-commit#40
Xeratec merged 2 commits intopulp-platform:develfrom
Xeratec:pr/shell_format

Conversation

@Xeratec
Copy link
Member

@Xeratec Xeratec commented Feb 17, 2026

Changelog

This PR adds shell script formatting using shfmt to the pre-commit configuration and applies the formatting to existing shell scripts.

Added

  • Added shfmt pre-commit hook from scop/pre-commit-shfmt (v3.12.0-2) to automatically format shell scripts

Changed

  • Fixed indentation in scripts/run_tests.sh (replaced tabs with spaces in function parameters)

Fixed

  • Standardized whitespace formatting in shell scripts

Checklist

  1. The PR is rebased on the latest devel commit and pointing to devel.
  2. Your PR reviewed and approved.
  3. The documentation is updated.
  4. All checks are passing.

@Xeratec Xeratec self-assigned this Feb 17, 2026
@Xeratec Xeratec added the enhancement New feature or request label Feb 17, 2026
@Xeratec Xeratec requested a review from viv-eth February 17, 2026 12:48
@Xeratec Xeratec merged commit b68c1c5 into pulp-platform:devel Feb 17, 2026
3 checks passed
@Xeratec Xeratec deleted the pr/shell_format branch February 17, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants