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

Check that all shell scripts are formatted with shfmt #1361

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

msimberg
Copy link
Contributor

See commit description for more details. I'm leaving the other formatting checks as before.

Check also that files in hidden directories are formatted. The globstar way of finding files
with **/*.sh excludes hidden directories. There's an additional option dotglob which would include
hidden directories, but it would include all hidden directories. Since we already have fd installed,
and fd knows both how to search in hidden directories, and take .gitignore into account (and ignore
.git), we use that instead.
@msimberg msimberg added this to the 0.31.0 milestone Nov 29, 2024
@msimberg msimberg self-assigned this Nov 29, 2024
@msimberg msimberg changed the title Shfmt all files Check that all shell scripts are formatted with shfmt Nov 29, 2024
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.07% (target: -1.00%) (target: 90.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (ff5f0cf) 18212 13755 75.53%
Head commit (00c1e83) 18212 (+0) 13743 (-12) 75.46% (-0.07%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1361) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

@msimberg msimberg merged commit ed4eef5 into pika-org:main Nov 29, 2024
37 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant