From aef179cbd4ef4fd83f57e49302ad24395bc8c13d Mon Sep 17 00:00:00 2001 From: David Almeida Date: Wed, 2 Oct 2024 16:10:59 +0200 Subject: [PATCH] Switch from black to Ruff --- .github/workflows/black.yml | 12 ------------ .github/workflows/ruff.yml | 8 ++++++++ 2 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 .github/workflows/black.yml create mode 100644 .github/workflows/ruff.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml deleted file mode 100644 index 07899a1..0000000 --- a/.github/workflows/black.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Based on https://black.readthedocs.io/en/stable/integrations/github_actions.html - -name: Lint - -on: [ push, pull_request ] - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: psf/black@stable diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 0000000..c8a0958 --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,8 @@ +name: Ruff +on: [ push, pull_request ] +jobs: + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: chartboost/ruff-action@v1 \ No newline at end of file