Skip to content

Commit

Permalink
Lint with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Oct 8, 2024
1 parent e079aaa commit 8dd62c6
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/lint-every-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,13 @@ name: lint-every-pr
on:
pull_request:
branches:
- master
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
- uses: chartboost/ruff-action@v1
with:
fetch-depth: 0
- uses: github/super-linter/slim@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: master
VALIDATE_ALL_CODEBASE: false
VALIDATE_PYTHON_BLACK: true
VALIDATE_PYTHON_FLAKE8: true
VALIDATE_PYTHON_PYLINT: true
args: "format --check"

0 comments on commit 8dd62c6

Please sign in to comment.