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 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