diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 686446e..2e4c6df 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: '^$|venv' 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 @@ -11,7 +11,7 @@ repos: - id: check-yaml - id: debug-statements - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 25.1.0 hooks: - id: black language_version: python3.9 @@ -21,18 +21,18 @@ repos: - id: autoflake args: [ '--in-place', '--remove-all-unused-imports', '--remove-unused-variable' ] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 6.0.1 hooks: - id: isort args: ['--line-length=79'] language_version: python3.9 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.1.1 + rev: v1.15.0 hooks: - id: mypy additional_dependencies: [types-requests, types-PyYAML, types-Flask, types-Werkzeug] - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py36-plus] diff --git a/stubs/httplib2/iri2uri.py b/stubs/httplib2/iri2uri.py index 7e6d31f..303b4c4 100644 --- a/stubs/httplib2/iri2uri.py +++ b/stubs/httplib2/iri2uri.py @@ -1,2 +1 @@ -def iri2uri(uri: str) -> str: - ... +def iri2uri(uri: str) -> str: ...