Skip to content

Add a note about recommended hook ordering#31

Merged
charliermarsh merged 1 commit intoastral-sh:mainfrom
eerovaher:hook-order
Mar 1, 2023
Merged

Add a note about recommended hook ordering#31
charliermarsh merged 1 commit intoastral-sh:mainfrom
eerovaher:hook-order

Conversation

@eerovaher
Copy link
Copy Markdown
Contributor

The Ruff documentation remarks that the Ruff pre-commit hook should run before code formatting tools (see https://beta.ruff.rs/docs/usage/). I copied the sentence from the Ruff documentation to the README here to increase its visibility.

The README now states that the Ruff pre-commit hook should run before
code formatting tools such as Black.
@charliermarsh charliermarsh merged commit c8ba6a0 into astral-sh:main Mar 1, 2023
@charliermarsh
Copy link
Copy Markdown
Member

Good idea, thanks so much.

@eerovaher eerovaher deleted the hook-order branch March 2, 2023 12:01
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.

2 participants