diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-05 02:32:12 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-13 04:17:30 +0100 |
commit | ddcd0910d32c157f4d89c51bc40c85a79c799692 (patch) | |
tree | 62e7abfbabb68d214a3368f5f344f18a8a7bc302 | |
parent | 6c8743d0c00e5bb6edffced4b60d3802004f9dc4 (diff) | |
download | pleroma-ddcd0910d32c157f4d89c51bc40c85a79c799692.tar.gz |
[Credo][CI] Do not make TODO/FIXME fail
-rw-r--r-- | .credo.exs | 4 | ||||
-rw-r--r-- | .gitlab-ci.yml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.credo.exs b/.credo.exs index 580cb2705..947280f56 100644 --- a/.credo.exs +++ b/.credo.exs @@ -69,8 +69,8 @@ # You can also customize the exit_status of each check. # If you don't want TODO comments to cause `mix credo` to fail, just # set this value to 0 (zero). - {Credo.Check.Design.TagTODO, exit_status: 2}, - {Credo.Check.Design.TagFIXME}, + {Credo.Check.Design.TagTODO, exit_status: 0}, + {Credo.Check.Design.TagFIXME, exit_status: 0}, {Credo.Check.Readability.FunctionNames}, {Credo.Check.Readability.LargeNumbers}, diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c86097ad..bd94d146b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,4 +42,4 @@ unit-testing: analysis: stage: analysis script: - - mix credo list --only=warnings + - mix credo list --only=warnings,todo,fixme |