From f4a911ba4358a17e66e785d2ec2a839150262c76 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Dec 2025 17:55:13 +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: - https://github.com/asottile/reorder_python_imports → https://github.com/asottile/reorder-python-imports - [github.com/asottile/reorder-python-imports: v3.1.0 → v3.16.0](https://github.com/asottile/reorder-python-imports/compare/v3.1.0...v3.16.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 22.3.0 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/22.3.0...25.12.0) - [github.com/PyCQA/flake8: 4.0.1 → 7.3.0](https://github.com/PyCQA/flake8/compare/4.0.1...7.3.0) - [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v6.0.0) - [github.com/asottile/pyupgrade: v2.32.1 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v2.32.1...v3.21.2) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 36080e1..abbc553 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,20 +1,20 @@ repos: - - repo: https://github.com/asottile/reorder_python_imports - rev: v3.1.0 + - repo: https://github.com/asottile/reorder-python-imports + rev: v3.16.0 hooks: - id: reorder-python-imports language_version: python3 args: - --application-directories=.:src - - repo: https://github.com/psf/black - rev: 22.3.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.12.0 hooks: - id: black args: [--safe, --quiet, --line-length, "100"] language_version: python3 require_serial: true - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.3.0 hooks: - id: flake8 language_version: python3 @@ -22,7 +22,7 @@ repos: - --max-line-length=100 - --ignore=W503,E203 - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v6.0.0 hooks: - id: trailing-whitespace language_version: python3 @@ -31,7 +31,7 @@ repos: - id: debug-statements language_version: python3 - repo: https://github.com/asottile/pyupgrade - rev: v2.32.1 + rev: v3.21.2 hooks: - id: pyupgrade language_version: python3 From 2e176d24ad46bdddceec29737bc530e05f9fa5ff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:00:24 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/widgetastic_patternfly/__init__.py | 1 + testing/test_all_components.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/widgetastic_patternfly/__init__.py b/src/widgetastic_patternfly/__init__.py index 85b6aae..06f2e65 100644 --- a/src/widgetastic_patternfly/__init__.py +++ b/src/widgetastic_patternfly/__init__.py @@ -1,4 +1,5 @@ """This package contains classes that represent widgets in Patternfly for Widgetastic""" + import functools import re import time diff --git a/testing/test_all_components.py b/testing/test_all_components.py index 2d42cb4..453c8eb 100644 --- a/testing/test_all_components.py +++ b/testing/test_all_components.py @@ -4,6 +4,7 @@ instantiated. The widgets appear to get instantiated upon accessing them in the instantiated view. After all of this, the behavior of the widget objects can be tested. """ + import inspect import pytest