diff --git a/.github/workflows/CIRunner.yml b/.github/workflows/CIRunner.yml index 2306f6f2..1e10bad4 100644 --- a/.github/workflows/CIRunner.yml +++ b/.github/workflows/CIRunner.yml @@ -52,9 +52,13 @@ jobs: npm install -g markdownlint-cli@0.39.0 npm install -g cspell@5.20.0 - - name: Run ruff + - name: Run ruff linter if: success() || failure() - run: ruff check ${{ inputs.package-src }} --output-format=github + run: ruff check --output-format=github . + + - name: Run ruff formatter + if: success() || failure() + run: ruff format --check . - name: Run markdownlint if: success() || failure() diff --git a/docs/contributor/developing.md b/docs/contributor/developing.md index f17a0343..16f2f6ec 100644 --- a/docs/contributor/developing.md +++ b/docs/contributor/developing.md @@ -84,6 +84,7 @@ as described above. ``` cmd ruff check . + ruff format --check . ``` * Note: Newer editors are very helpful in resolving source formatting errors. For example, in VSCode, you can