From ca1a950e34c9d69241c972954618a1e1cad2adeb Mon Sep 17 00:00:00 2001 From: Thomas Patzke Date: Mon, 17 Jun 2024 01:02:00 +0200 Subject: [PATCH] Updated black formatter --- .pre-commit-config.yaml | 10 ++++++++-- poetry.lock | 2 +- pyproject.toml | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c56f4dcd..d1d53599 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,11 @@ repos: - - repo: https://github.com/psf/black - rev: 23.3.0 + # Using this mirror lets us use mypyc-compiled black, which is about 2x faster + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 24.4.2 hooks: - id: black + # It is recommended to specify the latest version of Python + # supported by your project here, or alternatively use + # pre-commit's default_language_version, see + # https://pre-commit.com/#top_level-default_language_version + language_version: python3.11 \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index ec87fa79..6cc964fe 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1151,4 +1151,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "d134ff79b66420c7e74bb1b86b8129941f9a0377b0a342554196f5acef4732ea" +content-hash = "d74ee672558146f6cf8a45cb5081a770d47ad776da08813fbe42dea5bf98d9bc" diff --git a/pyproject.toml b/pyproject.toml index 31ab1ebf..02f1a5a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ requests = "^2.31" jinja2 = "^3.1" [tool.poetry.dev-dependencies] -black = "^24.1" +black = "^24.4.2" mypy = "^1.8" pre-commit = "^3.5" pylint = "^3.0"