1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +03:00

github/pr-checks: We provide flake8 filenames, so lose the '.'

This commit is contained in:
Athanasius 2022-12-04 16:50:21 +00:00
parent 5c704e9932
commit 486fb6b7e6
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -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
####################################################################
####################################################################