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: updates, add lint and format checks #273

Merged
merged 4 commits into from
Feb 13, 2025

Conversation

jameshcorbett
Copy link
Member

@jameshcorbett jameshcorbett commented Feb 13, 2025

Fixes #271.

Problem: github's CI `main.yml` has not been updated in a long time.

Update it.
Problem: flux-coral2's code should be formatted consistently with
other flux-framework projects.

Copy over .clang-format from flux-sched.
Problem: there is no github action to enforce code style and format,
and also to lint.

Add an action, pre-commit hooks, and a ruff format file.
Problem: now that CI enforces style, files need to be formatted to
pass.

Format everything.
Copy link
Member

@cmoussa1 cmoussa1 left a comment

Choose a reason for hiding this comment

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

Awesome @jameshcorbett!! Looks great

@mergify mergify bot merged commit 077d8b2 into flux-framework:master Feb 13, 2025
9 checks passed
@jameshcorbett jameshcorbett deleted the ci-updates branch February 13, 2025 17:59
@jameshcorbett jameshcorbett changed the title Ci updates ci: updates, add lint and format checks Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add black and pylint and clang-format to GitHub actions
2 participants