1
0
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:
Athanasius 2022-12-04 16:55:45 +00:00
parent 486fb6b7e6
commit 4cea8fa34f
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

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