mirror of https://github.com/astral-sh/ruff
Add pre-commit note to docs (#3145)
This commit is contained in:
parent
1c41789c2a
commit
dbdfdeb0e1
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue