diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e7a4e290ce..9eb7cec484 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,13 +11,13 @@ repos: hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.2 + rev: v0.3.2 hooks: - id: ruff-format - id: ruff args: [ "--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.9.0 hooks: - id: mypy args: ['--warn-unused-ignores', '--strict-equality','--no-implicit-optional', '--check-untyped-defs'] diff --git a/tests/test_install_all_packages.py b/tests/test_install_all_packages.py index 7079f4cafe..7830301932 100644 --- a/tests/test_install_all_packages.py +++ b/tests/test_install_all_packages.py @@ -12,6 +12,7 @@ including a pipx error or warning, incorrect list of installed apps, etc. """ + import io import os import re