From f15d27bb62d43defa38baaf1ef6ff6ca21fa1f96 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 9 Jan 2023 15:55:45 +0530 Subject: [PATCH] Use ruff on CI --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d69d3508..531fe38e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,10 +91,10 @@ jobs: go-version: ${{ env.GO_INSTALL_VERSION }} - name: Install build-only deps - run: python -m pip install -r docs/requirements.txt flake8 mypy types-requests types-docutils + run: python -m pip install -r docs/requirements.txt ruff mypy types-requests types-docutils - - name: Run pyflakes - run: python -m flake8 --count . + - name: Run ruff + run: ruff . - name: Run gofmt run: go version && python .github/workflows/ci.py gofmt