Skip to content
Snippets Groups Projects

Resolve "Bug de black"

Merged Jean-Baptiste Louvet requested to merge 2-bug-de-black into main
2 files
+ 8
8
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -31,18 +31,18 @@ many_lint_and_sast:
- poetry install --with dev
script:
- if [ "$DEPTRY_ACTIVATED" = "true" ]; then
poetry run deptry $DEPTRY_OPTIONS; fi
poetry run -- deptry $DEPTRY_OPTIONS; fi
- if [ "$BLACK_ACTIVATED" = "true" ]; then
poetry run black $BLACK_OPTIONS; fi
poetry run -- black $BLACK_OPTIONS; fi
- if [ "$SEMGREP_ACTIVATED" = "true" ]; then
poetry run semgrep scan $SEMGREP_OPTIONS; fi
poetry run -- semgrep scan $SEMGREP_OPTIONS; fi
- if [ "$BANDIT_ACTIVATED" = "true" ]; then
poetry run bandit $BANDIT_OPTIONS; fi
poetry run -- bandit $BANDIT_OPTIONS; fi
- if [ "$MYPY_ACTIVATED" = "true" ]; then
poetry run mypy $MYPY_OPTIONS; fi
poetry run -- mypy $MYPY_OPTIONS; fi
- if [ "$VULTURE_ACTIVATED" = "true" ]; then
poetry run vulture $VULTURE_OPTIONS; fi
poetry run -- vulture $VULTURE_OPTIONS; fi
- if [ "$RUFF_ACTIVATED" = "true" ]; then
poetry run ruff check $RUFF_OPTIONS; fi
poetry run -- ruff check $RUFF_OPTIONS; fi
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
Loading