Skip to content

Mention the --diff flag for format --check#104

Merged
eifinger merged 1 commit intoastral-sh:mainfrom
Avasam:patch-1
Mar 19, 2025
Merged

Mention the --diff flag for format --check#104
eifinger merged 1 commit intoastral-sh:mainfrom
Avasam:patch-1

Conversation

@Avasam
Copy link
Contributor

@Avasam Avasam commented Mar 18, 2025

Just like for the action run adding annotations, the CI is the place where you'd want extra information.

Especially information that tells you how to fix an issue, which is relevant when a contributor doesn't want to / can't run the tool locally (an edit through the GitHub UI could be more convenient, don't want to bother installing extra tools locally, they're having issues not picking up the right Ruff version when ran locally, etc.)

It's also easier to opt-out of copy-pasting this flag, than not knowing about it in the first place.

Hence I think this documentation change is a positive to help anyone integrate this action into their CI for check+formatting by looking at the readme.

@Avasam Avasam requested a review from eifinger as a code owner March 18, 2025 19:48
Copy link
Collaborator

@eifinger eifinger left a comment

Choose a reason for hiding this comment

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

Makes sense!

Thank you for the addition! 🚀

@eifinger eifinger merged commit 94d4d71 into astral-sh:main Mar 19, 2025
27 checks passed
@Avasam Avasam deleted the patch-1 branch March 19, 2025 13:29
@eifinger eifinger added the documentation Improvements or additions to documentation label Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants