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/hooks: Bring py3 scripts under test per request #2184

Merged
merged 2 commits into from
Apr 7, 2024

Conversation

ermo
Copy link
Contributor

@ermo ermo commented Apr 7, 2024

Summary
1st attempt at ensuring that all available common/Scripts/*.py files get linted as part of commits.

Test Plan
Run go-task init && go-task check and observe that nothing blows up when git hooks are run.

Checklist

- [x] Package was built and tested against unstable

@ermo ermo added Topic: Plumbing Core components Type: Feature Something can be enhanced. Topic: Tooling Tools and scripts labels Apr 7, 2024
@ermo ermo requested a review from silkeh April 7, 2024 20:02
.github/workflows/script_lint.yml Outdated Show resolved Hide resolved
**Summary**
Ensure that all available common/Scripts/*.py files get linted by flake8
as part of commits.

This way, new python3 scripts will automagically be linted on addition.

Signed-off-by: Rune Morling <[email protected]>
@ermo ermo force-pushed the CI-add-py3-common-Scripts branch from 0cc3f3a to c0981ac Compare April 7, 2024 20:08
**Summary**
@silkeh suggests that this change will also trigger the CI, so is worth-
while for several reasons.

Signed-off-by: Rune Morling <[email protected]>
Copy link
Member

@silkeh silkeh left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@silkeh silkeh merged commit 2b03ae7 into main Apr 7, 2024
2 checks passed
@davidjharder davidjharder deleted the CI-add-py3-common-Scripts branch May 17, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: Plumbing Core components Topic: Tooling Tools and scripts Type: Feature Something can be enhanced.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants