From 91881e779e468b6d311f5d50311785396aff49a8 Mon Sep 17 00:00:00 2001 From: Jochem Smit Date: Fri, 14 Jun 2024 10:18:07 +0200 Subject: [PATCH] switch linting workflow to ruff --- .github/workflows/lint.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5f19725e..e9e35908 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,14 +1,13 @@ -name: Linting -on: [push] +name: Formatting Check +on: [push, pull_request] jobs: - lint: + format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: "3.9" - - run: python -m pip install black[jupyter] - - run: | - black . --check + - run: python -m pip install ruff + - run: ruff --check .