From bd9009a09ca1eb3563dfae48d06a9ebe9d81794d Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Sun, 24 Nov 2024 22:06:45 -0800 Subject: [PATCH 1/3] Pin ruff to specific version --- .github/actions/lint/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/lint/action.yml b/.github/actions/lint/action.yml index 444f331a3a96..9656d2c01f59 100644 --- a/.github/actions/lint/action.yml +++ b/.github/actions/lint/action.yml @@ -43,7 +43,7 @@ runs: - name: Run Ruff run: | - python -m pip install -U ruff + python -m pip install -U ruff<0.8 python -m ruff check . python -m ruff format --check working-directory: python_files From 5739952f6d7801dd8d05cafc6c48a74c53534a46 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Sun, 24 Nov 2024 22:33:45 -0800 Subject: [PATCH 2/3] Try fix --- .github/actions/lint/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/lint/action.yml b/.github/actions/lint/action.yml index 9656d2c01f59..54e4c9f61d71 100644 --- a/.github/actions/lint/action.yml +++ b/.github/actions/lint/action.yml @@ -43,7 +43,7 @@ runs: - name: Run Ruff run: | - python -m pip install -U ruff<0.8 + python -m pip install -U ruff<0.8.0 python -m ruff check . python -m ruff format --check working-directory: python_files From 76a6736ed1ac5c60caedfe73a3430ee345a89929 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Sun, 24 Nov 2024 23:34:57 -0800 Subject: [PATCH 3/3] Use quotes --- .github/actions/lint/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/lint/action.yml b/.github/actions/lint/action.yml index 54e4c9f61d71..60d396e353f3 100644 --- a/.github/actions/lint/action.yml +++ b/.github/actions/lint/action.yml @@ -43,7 +43,7 @@ runs: - name: Run Ruff run: | - python -m pip install -U ruff<0.8.0 + python -m pip install -U "ruff<0.8.0" python -m ruff check . python -m ruff format --check working-directory: python_files