Skip to content

Add aomp-shellcheck script #1463

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

Open
wants to merge 4 commits into
base: aomp-dev
Choose a base branch
from
Open

Add aomp-shellcheck script #1463

wants to merge 4 commits into from

Conversation

jtb20
Copy link
Contributor

@jtb20 jtb20 commented Jun 2, 2025

This PR contains a new aomp-shellcheck script (by Gregory Rodgers) and some additional improvements, including a new "--check-only" option to help with automation.

gregrodgers and others added 4 commits June 4, 2025 05:05
This patch adds a helper script to wrap the 'shellcheck' utility,
aiming to split checks into (a) those that should be fixed by hand,
(b) those which can be fixed automatically with reasonable precision,
and (c) those which should always be ignored.
This patch moves some potentially semantics-altering automatic fixes to
the fixByHand list.
This patch allows multiple scripts to listed for aomp-shellcheck, and
contains some cleanups based on running shellcheck on that script itself.
This patch adds a --check-only option to aomp-shellcheck to avoid
automatically altering files, e.g. when called via an automation system.
Copy link
Contributor

@jplehr jplehr left a comment

Choose a reason for hiding this comment

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

Thank you for adding the --check-only option.

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