From 3f54f7e3deb4c5e4d2cd7e97fecc30296535d296 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Tue, 7 Nov 2023 13:48:08 +0300 Subject: [PATCH] Bump ruff (#10988) --- .github/workflows/tests.yml | 2 +- .pre-commit-config.yaml | 2 +- requirements-tests.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8b7f67baca65..f5712955fa31 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,7 +52,7 @@ jobs: - uses: actions/checkout@v4 - uses: chartboost/ruff-action@v1 with: - version: "0.1.0" # must match .pre-commit-config.yaml and requirements-test.txt + version: "0.1.4" # must match .pre-commit-config.yaml and requirements-test.txt flake8: name: Lint with Flake8 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 22cb07869546..3c20c6357a6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: black language_version: python3.10 - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.0 # must match requirements-tests.txt and tests.yml + rev: v0.1.4 # must match requirements-tests.txt and tests.yml hooks: - id: ruff args: [--exit-non-zero-on-fix, --fix-only] diff --git a/requirements-tests.txt b/requirements-tests.txt index 35a9f80f761b..54897182a319 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -9,7 +9,7 @@ flake8-pyi==23.10.0 # must match .pre-commit-config.yaml mypy==1.6.1 pre-commit-hooks==4.5.0 # must match .pre-commit-config.yaml pytype==2023.10.17; platform_system != "Windows" and python_version < "3.12" -ruff==0.1.0 # must match .pre-commit-config.yaml and tests.yml +ruff==0.1.4 # must match .pre-commit-config.yaml and tests.yml # Libraries used by our various scripts. aiohttp==3.8.5; python_version < "3.12" # aiohttp can't be installed on 3.12 yet