From d476d46bb37cac1fc99927a7be5de31fdf04d733 Mon Sep 17 00:00:00 2001 From: Jochem Smit Date: Wed, 21 Feb 2024 14:27:23 +0100 Subject: [PATCH] lint with ruff --- .github/workflows/lint.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 67856b0..b6690e0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,14 +1,8 @@ -name: Linting -on: [push] - +name: Ruff +on: [push, pull_request] jobs: - lint: + ruff: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - run: python -m pip install black[jupyter] - - run: | - black . --check + - uses: actions/checkout@v4 + - uses: chartboost/ruff-action@v1 \ No newline at end of file