Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Report cargo fmt and clippy errors more quickly #1919

Merged

Conversation

itowlson
Copy link
Contributor

Previously if when I forgot to run cargo fmt I got a red mark in 2-3 minutes. It now takes 20-25 minutes. This PR proposes running lints on the core code separately from lints on the examples, so that we can get feedback more quickly in cases where the examples haven't changed (and don't need to change).

This also makes the make lint target do "core" code only, with make lint-all to lint, er, all. If we prefer we could keep lint as being everything and have a lint-spin target for the "core" code - I wasn't sure what people would prefer to be the default.

@itowlson itowlson requested review from lann, rylev and vdice October 19, 2023 20:55
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@itowlson itowlson force-pushed the who-will-rid-me-of-this-turbulent-linter branch from e403810 to 131265c Compare October 19, 2023 23:23
@itowlson itowlson enabled auto-merge October 19, 2023 23:33
@itowlson itowlson merged commit e1e6e7f into fermyon:main Oct 20, 2023
9 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants