[Python] Enable the strictest `ruff check` in GitHub Actions

Discussão em 'Python' iniciado por Stack, Julho 15, 2025.

  1. Stack

    Stack Membro Participativo

    How do I enable the most stringent ruff check in GitHub Actions? I am looking for the equivalent of:

    ruff check --select ALL


    The docs (astral-sh/ruff-action: A GitHub Action to run Ruff) apparently specify the default ruff check, which is not strict enough (for example, it allows trailing whitespace):

    - uses: astral-sh/ruff-action@v3
    with:
    src: >-
    path/to/file1.py
    path/to/file2.py

    Continue reading...

Compartilhe esta Página