Skip to content
Snippets Groups Projects
Commit 5908bdd1 authored by Mart van Santen's avatar Mart van Santen
Browse files

Make darker not fail on formatting recommandations

parent fa204c47
No related branches found
No related tags found
2 merge requests!68Merge loginpanel into main and release 0.5.0,!60Resolve "Allow CLI to set password"
Pipeline #10153 failed with stages
in 46 seconds
......@@ -228,4 +228,6 @@ pylint-lint:
PYLINT_PLUGINS: "pylint_flask pylint_flask_sqlalchemy"
image: ${CI_REGISTRY_IMAGE}/pylint:${CI_COMMIT_REF_NAME}
script:
- darker --check -i -L pylint --diff --revision remotes/origin/main .
# Run darker with --diff command. This will throw exit code 1 if there are
# lint errors, but a 0 if there are only formatting recommendations
- darker -i -L pylint --diff --revision remotes/origin/main .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment