diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7dd3fb2..1eb84cd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,19 +4,19 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.10.1 + rev: v3.19.1 hooks: - id: pyupgrade - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -26,12 +26,12 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.1.1 hooks: - id: flake8 args: [--max-line-length=100] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + rev: v1.14.1 hooks: - id: mypy args: [--no-strict-optional, --ignore-missing-imports] @@ -42,4 +42,4 @@ repos: - id: check-rebase args: - git://github.com/user-cont/colin.git - stages: [manual, push] + stages: [manual, pre-push] diff --git a/colin/utils/cont.py b/colin/utils/cont.py index 508f7bf..14945af 100644 --- a/colin/utils/cont.py +++ b/colin/utils/cont.py @@ -2,6 +2,7 @@ This is a temporary module to support unpriv way of interacting with container images. """ + import logging logger = logging.getLogger(__name__) diff --git a/tests/integration/test_cont.py b/tests/integration/test_cont.py index 861add8..35c22fa 100644 --- a/tests/integration/test_cont.py +++ b/tests/integration/test_cont.py @@ -1,6 +1,7 @@ """ Testing of low level interaction with images. """ + import pytest