From 009ded50a169f8bcef5f330fe82ef98398986391 Mon Sep 17 00:00:00 2001 From: A_D Date: Wed, 9 Sep 2020 23:05:59 +0200 Subject: [PATCH] Ensured PRs dont fail on doc lints --- .github/workflows/pr-checks.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index f39bb335..2afeba77 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -83,5 +83,6 @@ jobs: git diff "refs/remotes/${BASE_REPO_OWNER}/${BASE_REF}" -- | flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --diff # Can optionally add `--exit-zero` to the flake8 arguments so that # this doesn't fail the build. - git diff "refs/remotes/${BASE_REPO_OWNER}/${BASE_REF}" -- | flake8 . --count --statistics --diff + # explicitly ignore docstring errors (start with D) + git diff "refs/remotes/${BASE_REPO_OWNER}/${BASE_REF}" -- | flake8 . --count --statistics --diff --extend-ignore D ####################################################################