From 7a3fffd45f7a52fd58f302e7f3c4654d0d8a5577 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 20:24:25 +0100 Subject: [PATCH] chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24 (#2917) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [psf/black-pre-commit-mirror](https://togithub.com/psf/black-pre-commit-mirror) | repository | major | `23.12.1` -> `24.1.1` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://togithub.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes
psf/black-pre-commit-mirror (psf/black-pre-commit-mirror) ### [`v24.1.1`](https://togithub.com/psf/black-pre-commit-mirror/compare/24.1.0...24.1.1) [Compare Source](https://togithub.com/psf/black-pre-commit-mirror/compare/24.1.0...24.1.1) ### [`v24.1.0`](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.0) [Compare Source](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.0)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/libretime/libretime). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jo --- .pre-commit-config.yaml | 2 +- analyzer/libretime_analyzer/pipeline/pipeline.py | 3 +-- api/libretime_api/urls.py | 1 + playout/libretime_playout/main.py | 1 + playout/libretime_playout/notify/main.py | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9b6b32c02..2dc284b24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,7 +54,7 @@ repos: args: [--resolve-all-configs] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black diff --git a/analyzer/libretime_analyzer/pipeline/pipeline.py b/analyzer/libretime_analyzer/pipeline/pipeline.py index fa0c29b74..9b856301d 100644 --- a/analyzer/libretime_analyzer/pipeline/pipeline.py +++ b/analyzer/libretime_analyzer/pipeline/pipeline.py @@ -16,8 +16,7 @@ logger = logging.getLogger(__name__) class Step(Protocol): @staticmethod - def __call__(filename: str, metadata: Dict[str, Any]): - ... + def __call__(filename: str, metadata: Dict[str, Any]): ... class PipelineStatus(int, Enum): diff --git a/api/libretime_api/urls.py b/api/libretime_api/urls.py index c03f662e8..9d109ddc4 100644 --- a/api/libretime_api/urls.py +++ b/api/libretime_api/urls.py @@ -4,6 +4,7 @@ URL Configuration For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/http/urls/ """ + from django.urls import include, path from drf_spectacular.views import SpectacularAPIView, SpectacularSwaggerView diff --git a/playout/libretime_playout/main.py b/playout/libretime_playout/main.py index 0ec4e6464..31354162a 100644 --- a/playout/libretime_playout/main.py +++ b/playout/libretime_playout/main.py @@ -1,6 +1,7 @@ """ Python part of radio playout (pypo) """ + import logging import os import sys diff --git a/playout/libretime_playout/notify/main.py b/playout/libretime_playout/notify/main.py index a5dfb07cb..1d77b3fa9 100644 --- a/playout/libretime_playout/notify/main.py +++ b/playout/libretime_playout/notify/main.py @@ -12,6 +12,7 @@ Main case: media id from it, and then calls back to the API to tell about it about it. """ + import logging from pathlib import Path from typing import Literal, Optional