mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-08 02:02:33 +03:00
Ensured PRs dont fail on doc lints
This commit is contained in:
1 file changed
+2
-1
@@ -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
|
||||
####################################################################
|
||||
Reference in new issue
Block a user