From e14fe4b5e36a63438398c48f2577d95c7eee6f2d Mon Sep 17 00:00:00 2001 From: Ian O'Hara Date: Mon, 20 Jan 2025 11:09:39 -0800 Subject: [PATCH] fix(lint action): Fail linting action if formatting would have happened (#73) We weren't using `--check` before, so this adds it. This will make the linting actions fail if the changes aren't properly formatted. Tested by: This should fail the linting action! If it does because of required formatting, then this is good to go. --- .github/workflows/black.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index e8083073..d89c7103 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -14,5 +14,5 @@ jobs: python-version: "3.13" - uses: psf/black@stable with: - options: "--config software/pyproject.toml" + options: "--config software/pyproject.toml --check --verbose" src: "./software/"