From 03bac34f8e583ee33d2f0c8f87ef33863aafc173 Mon Sep 17 00:00:00 2001 From: Antti Kaihola <13725+akaihola@users.noreply.github.com> Date: Sat, 9 Mar 2024 18:49:41 +0200 Subject: [PATCH] Run only Flake8 in `darker-flake8.yml` workflow --- .github/workflows/config/empty.toml | 1 + .github/workflows/darker-flake8.yml | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/config/empty.toml diff --git a/.github/workflows/config/empty.toml b/.github/workflows/config/empty.toml new file mode 100644 index 000000000..3f501a085 --- /dev/null +++ b/.github/workflows/config/empty.toml @@ -0,0 +1 @@ +# An empty TOML file used by ../flake8.yml as Darker configuration diff --git a/.github/workflows/darker-flake8.yml b/.github/workflows/darker-flake8.yml index 9fa3f02de..2a59cc18d 100644 --- a/.github/workflows/darker-flake8.yml +++ b/.github/workflows/darker-flake8.yml @@ -14,7 +14,12 @@ jobs: - name: Run Darker's own GitHub action straight from the repository uses: ./ with: - options: --check --diff --color --isort --config pyproject.toml + options: + --check + --diff + --color + --isort + --config .github/workflows/config/empty.toml src: src/darker revision: origin/master... lint: flake8