Use ruff on CI

This commit is contained in:
Kovid Goyal 2023-01-09 15:55:45 +05:30
parent a068e3e655
commit f15d27bb62
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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