Add pre-commit note to docs (#3145)

This commit is contained in:
Charlie Marsh 2023-02-22 17:22:47 -05:00 committed by GitHub
parent 1c41789c2a
commit dbdfdeb0e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,6 +184,8 @@ Or, to enable autofix:
args: [--fix, --exit-non-zero-on-fix] args: [--fix, --exit-non-zero-on-fix]
``` ```
Note that Ruff's pre-commit hook should run before Black, isort, and other formatting tools.
<!-- End section: Installation and Usage --> <!-- End section: Installation and Usage -->
## Configuration ## Configuration