From 1aad8cbb2890cf579d993ab64970a5750cc543e2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 16:27:35 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0) - [github.com/psf/black: 23.1.0 → 25.1.0](https://github.com/psf/black/compare/23.1.0...25.1.0) - [github.com/PyCQA/flake8: 6.0.0 → 7.2.0](https://github.com/PyCQA/flake8/compare/6.0.0...7.2.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 32fbfd3..b072967 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -14,11 +14,11 @@ repos: - id: fix-byte-order-marker - id: mixed-line-ending - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.2.0 hooks: - id: flake8 additional_dependencies: ['flake8-pyproject', 'flake8-docstrings', 'darglint'] From 6438f1466bfd37d076df5ffc47c5318e731d2938 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 16:27:51 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- teamtalk/message.py | 1 - teamtalk/statistics.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/teamtalk/message.py b/teamtalk/message.py index c28411f..725bbb0 100644 --- a/teamtalk/message.py +++ b/teamtalk/message.py @@ -1,6 +1,5 @@ """This module contains the Message class and its subclasses.""" - from .implementation.TeamTalkPy import TeamTalk5 as sdk diff --git a/teamtalk/statistics.py b/teamtalk/statistics.py index 40261d3..83745ed 100644 --- a/teamtalk/statistics.py +++ b/teamtalk/statistics.py @@ -1,4 +1,5 @@ """Server statistics module for Teamtalk.""" + from .implementation.TeamTalkPy import TeamTalk5 as sdk from ._utils import _get_tt_obj_attribute