mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 16:27:13 +03:00
github/push-checks: Align flake8 with what's working in pr-checks
This commit is contained in:
parent
486fb6b7e6
commit
4cea8fa34f
6
.github/workflows/push-checks.yml
vendored
6
.github/workflows/push-checks.yml
vendored
@ -51,9 +51,11 @@ jobs:
|
||||
#######################################################################
|
||||
|
||||
#######################################################################
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
# 'Full' run, but ignoring docstring errors
|
||||
#######################################################################
|
||||
# explicitly ignore docstring errors (start with D)
|
||||
# Can optionally add `--exit-zero` to the flake8 arguments so that
|
||||
git diff --name-only --diff-filter=d -z "$DATA" | \
|
||||
grep -E -z -Z '\.py$' | \
|
||||
xargs -0 flake8 . --count --statistics
|
||||
xargs -0 flake8 --count --statistics --extend-ignore D
|
||||
#######################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user