From 5c57cccea3006f03866f56399350009aed9e2d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 17 Dec 2024 11:29:28 -0800 Subject: [PATCH] github: run ruff check import linter --- .github/workflows/format.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 5866f881b..444e24338 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -35,7 +35,12 @@ jobs: python -m pip install --upgrade pip pip install -r dev-requirements.txt - name: Ruff formatter - id: ruff + id: ruff-format run: | source .venv/bin/activate ruff format --diff + - name: Ruff import linter + id: ruff-check + run: | + source .venv/bin/activate + ruff check --select I