Skip to content

Switch to ruff for lint and format #3500

Switch to ruff for lint and format

Switch to ruff for lint and format #3500

Workflow file for this run

name: Lint Code Base
on:
pull_request:
branches:
- develop
- staging
merge_group:
permissions: { }
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter/slim@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
VALIDATE_PYTHON_RUFF: true
LINTER_RULES_PATH: /
PYTHON_RUFF_CONFIG_FILE: "pyproject.toml"