diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 51eb7208b505..89737b396d83 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - id: isort name: isort (python) - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.278 # must match requirements-tests.txt + rev: v0.0.280 # must match requirements-tests.txt hooks: - id: ruff args: [--exit-non-zero-on-fix] diff --git a/requirements-tests.txt b/requirements-tests.txt index 53803e309602..8059d4e2897a 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -9,8 +9,8 @@ flake8-pyi==23.6.0; python_version >= "3.8" # must match .pre-commit-confi isort==5.12.0; python_version >= "3.8" # must match .pre-commit-config.yaml mypy==1.4.1 pre-commit-hooks==4.4.0 # must match .pre-commit-config.yaml -pytype==2023.6.16; platform_system != "Windows" and python_version < "3.11" -ruff==0.0.278 # must match .pre-commit-config.yaml +pytype==2023.7.21; platform_system != "Windows" and python_version >= "3.8" and python_version < "3.11" +ruff==0.0.280 # must match .pre-commit-config.yaml # Libraries used by our various scripts. aiohttp==3.8.5; python_version < "3.12" # aiohttp can't be installed on 3.12 yet