mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Update pre-commit hooks configuration to use ruff instead of black
This commit is contained in:
parent
aaa4560729
commit
d9f8ef68df
47 changed files with 244 additions and 241 deletions
|
|
@ -17,12 +17,12 @@ repos:
|
|||
platform/android/java/lib/src/com/.*
|
||||
)
|
||||
|
||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||
rev: 24.2.0
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.4.4
|
||||
hooks:
|
||||
- id: black
|
||||
files: (\.py$|SConstruct|SCsub)
|
||||
types_or: [text]
|
||||
- id: ruff
|
||||
args: [--fix]
|
||||
- id: ruff-format
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.971
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue