Merge pull request #90457 from Chubercik/ruff-formatter

Replace `black` formatter with `ruff`
This commit is contained in:
Rémi Verschelde 2024-05-22 09:26:42 +02:00
commit c40c89f94c
No known key found for this signature in database
GPG key ID: C3336907360768E1
47 changed files with 244 additions and 241 deletions

View file

@ -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