1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-20 16:58:58 +01:00

Switch formatting from black to ruff-format (#102893)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Aarni Koskela
2023-11-27 15:38:59 +02:00
committed by GitHub
parent cf9b0e804f
commit 706add4a57
161 changed files with 530 additions and 607 deletions

View File

@@ -1,16 +1,11 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.1
rev: v0.1.6
hooks:
- id: ruff
args:
- --fix
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.11.0
hooks:
- id: black
args:
- --quiet
- id: ruff-format
files: ^((homeassistant|pylint|script|tests)/.+)?[^/]+\.py$
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2