From e831559ea375db93308d936d26a8481e96a9dcb5 Mon Sep 17 00:00:00 2001 From: Tpt Date: Sat, 4 Nov 2023 20:33:52 +0100 Subject: [PATCH] Migrates auto formatter to Ruff --- .pre-commit-config.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cabf553..0202ad9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,16 +23,13 @@ repos: - id: mixed-line-ending - id: requirements-txt-fixer - id: trailing-whitespace - - repo: https://github.com/ambv/black - rev: 23.7.0 - hooks: - - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.0 + rev: v0.1.4 hooks: + - id: ruff-format - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.0 + rev: v1.6.1 hooks: - id: mypy