From c7610377df7bf09f5072ebaf26147880e95720a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Stucke?= Date: Thu, 8 Aug 2024 18:11:32 +0200 Subject: [PATCH] replaced flake8 github action with ruff action --- .github/workflows/Lintly-Flake8.yml | 15 --------------- .github/workflows/ruff.yml | 11 +++++++++++ 2 files changed, 11 insertions(+), 15 deletions(-) delete mode 100644 .github/workflows/Lintly-Flake8.yml create mode 100644 .github/workflows/ruff.yml diff --git a/.github/workflows/Lintly-Flake8.yml b/.github/workflows/Lintly-Flake8.yml deleted file mode 100644 index d1b8f7da..00000000 --- a/.github/workflows/Lintly-Flake8.yml +++ /dev/null @@ -1,15 +0,0 @@ -on: [pull_request] - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: grantmcconnaughey/lintly-flake8-github-action@d9db4fd0be9fb1cd19206a48ec0773bd93b82cbd - with: - # The GitHub API token to create reviews with - token: ${{ secrets.GITHUB_TOKEN }} - # Fail if "new" violations detected or "any", default "new" - failIf: new - # Additional arguments to pass to flake8, default "." (current directory) - args: "--config .flake8 fact_extractor" diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 00000000..415c175c --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,11 @@ +name: Ruff +on: [push, pull_request] +jobs: + ruff: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: chartboost/ruff-action@v1 + with: + version: 0.5.6