From 486fb6b7e6bbcbfff63e6b9b4acddc7b1da30c02 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 4 Dec 2022 16:50:21 +0000 Subject: [PATCH] github/pr-checks: We provide flake8 filenames, so lose the '.' --- .github/workflows/pr-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 78143675..8547540a 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -87,13 +87,13 @@ jobs: # F82 - undefined checking git diff --name-only --diff-filter=d -z "refs/remotes/${BASE_REPO_OWNER}/${BASE_REF}" -- | \ grep -E -z -Z '\.py$' | \ - xargs -0 flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + xargs -0 flake8 --count --select=E9,F63,F7,F82 --show-source --statistics # Can optionally add `--exit-zero` to the flake8 arguments so that # this doesn't fail the build. # explicitly ignore docstring errors (start with D) git diff --name-only --diff-filter=d -z "refs/remotes/${BASE_REPO_OWNER}/${BASE_REF}" -- | \ grep -E -z -Z '\.py$' | \ - xargs -0 flake8 . --count --statistics --extend-ignore D + xargs -0 flake8 --count --statistics --extend-ignore D #################################################################### ####################################################################