Skip to content

Conversation

@martinflorian-da
Copy link
Contributor

...and fix them so it passes.

This is to avoid issues such as #3650

[static]

I tried tweaking .pre-commit-config.yaml instead but it didn't quite work / ended up way too complex.

With only two affected files, adding a line on top and adding +x seems like a reasonable workaround...

Signed-off-by: Martin Florian martin.florian@digitalasset.com

...and fix them so it passes.

This is to avoid issues such as #3650

[static]

I tried tweaking `.pre-commit-config.yaml` instead but it didn't quite work / ended up way too complex.

With only two affected files, adding a line on top and adding `+x` seems like a reasonable workaround...

Signed-off-by: Martin Florian <martin.florian@digitalasset.com>
@martinflorian-da martinflorian-da marked this pull request as ready for review January 22, 2026 21:04
Copy link
Contributor

@isegall-da isegall-da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Make shellcheck cover our .source files

This is done simply by adding the #!/usr/bin/env bash at the top? That's what shellcheck uses to determine what to look at? (because I don't see any change to some regex or something that would otherwise do that in the PR)

@martinflorian-da
Copy link
Contributor Author

This is done simply by adding the

That and chmod a+x. This way identify-cli identifies it as type shell, and (longer story short) shellcheck is run on it.

I find it slightly hacky (especially the mode change), but the alternatives I came up with were less great...

@martinflorian-da martinflorian-da merged commit c810384 into main Jan 22, 2026
45 checks passed
@martinflorian-da martinflorian-da deleted the martinflorian-da/fix-source-shellcheck branch January 22, 2026 21:52
@isegall-da
Copy link
Contributor

That and chmod a+x

Ah, I missed that part. Ugly as hell, but if it works...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants