diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f3b5d75..9e109d0e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,15 +4,15 @@ repos: - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.10.1 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.6 + rev: v3.0.3 hooks: - id: prettier - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-added-large-files - id: check-ast @@ -22,19 +22,19 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 args: - --max-line-length=100 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.1.1 + rev: v1.6.1 hooks: - id: mypy args: [--no-strict-optional, --ignore-missing-imports] additional_dependencies: [types-click, types-requests, types-PyYAML] - repo: https://github.com/packit/pre-commit-hooks - rev: v1.0.0 + rev: v1.2.0 hooks: - id: check-rebase args: diff --git a/dist2src/worker/config.py b/dist2src/worker/config.py index ce3c21c3..e0999bb5 100644 --- a/dist2src/worker/config.py +++ b/dist2src/worker/config.py @@ -5,7 +5,7 @@ from pathlib import Path from ogr import GitlabService, PagureService -from requests.packages.urllib3.util import Retry +from urllib3.util import Retry from dist2src.constants import GITLAB_SRC_NAMESPACE