From a1d80980c8ed8331e7ae037042902bddaf203a5c Mon Sep 17 00:00:00 2001 From: Sai-Suraj-27 Date: Fri, 26 Jan 2024 19:34:30 +0530 Subject: [PATCH] feat: Updated `black` formatter version and modified all the files according to it (#28040) --- .pre-commit-config.yaml | 2 +- scripts/backend_generation/generate.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 34d42d6af8eea..d18a3b680e7df 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: ruff args: [ --fix ] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.12.1 + rev: 24.1.0 hooks: - id: black language_version: python3 diff --git a/scripts/backend_generation/generate.py b/scripts/backend_generation/generate.py index 90886b67f61b4..523ad1b6f28a7 100644 --- a/scripts/backend_generation/generate.py +++ b/scripts/backend_generation/generate.py @@ -167,8 +167,7 @@ def _should_install_backend(package_name): ) from e elif ret.lower() == "n": print( - Fore.YELLOW - + "Will continue without backend installed, " + Fore.YELLOW + "Will continue without backend installed, " "type checking won't be available.\n" ) else: