diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 570772c1..72d977e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -85,3 +85,11 @@ jobs: uses: codecov/codecov-action@v3 with: name: Python ${{ matrix.python-version }} + + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: pip install --user ruff + - run: ruff --extend-select=C4,C9,I,PLC,PLE,PLR,U --format=github + --ignore=C414,I001,UP032 --target-version=py37 .