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