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:
parent
5c704e9932
commit
486fb6b7e6
4
.github/workflows/pr-checks.yml
vendored
4
.github/workflows/pr-checks.yml
vendored
@ -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
|
||||
####################################################################
|
||||
|
||||
####################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user