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

all: Add ruff to pre-commit. #11394

Merged
merged 1 commit into from
May 10, 2023
Merged

all: Add ruff to pre-commit. #11394

merged 1 commit into from
May 10, 2023

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented May 2, 2023

This does not align with the other pre-commit jobs which are local custom code but it should run accurately and quickly.

https://beta.ruff.rs/docs/usage

@cclauss cclauss changed the title DRAFT: Add ruff to pre-commit all: Add ruff to pre-commit. May 2, 2023
@cclauss cclauss marked this pull request as ready for review May 2, 2023 18:37
rev: v0.0.264
hooks:
- id: ruff
# args: [ --fix, --exit-non-zero-on-fix ]
Copy link
Member

Choose a reason for hiding this comment

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

Please remove this commented-out line (unless it has a good reason to be there?).

This does not align with the other pre-commit jobs with are local custom
code but it should run accurately and quickly.

Signed-off-by: Christian Clauss <cclauss@me.com>
@dpgeorge dpgeorge merged commit 4e4bdbd into micropython:master May 10, 2023
5 checks passed
@cclauss cclauss deleted the patch-2 branch May 10, 2023 06:26
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.

None yet

2 participants