diff options
| author | Jan Friedli | 2020-05-21 17:22:58 +0200 |
|---|---|---|
| committer | jfriedli | 2020-05-21 09:14:28 -0700 |
| commit | 06b2e312b9062c2884b95a710c44a77b54664a50 (patch) | |
| tree | 415e02c7750aca8b0fa9b227725eb023930a8903 | |
| parent | 83618ff529dbd8e8b89a51e54a7d81eab7dd823b (diff) | |
try bandit
| -rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 94f1633..b51898a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
| @@ -25,6 +25,13 @@ mypy: | |||
| 25 | - pip3 install mypy | 25 | - pip3 install mypy |
| 26 | - mypy --ignore-missing-imports main.py | 26 | - mypy --ignore-missing-imports main.py |
| 27 | 27 | ||
| 28 | bandit: | ||
| 29 | image: | ||
| 30 | name: $CI_REGISTRY/georg/mat2-ci-images:linting | ||
| 31 | stage: lintin | ||
| 32 | script: | ||
| 33 | - bandit -r ./matweb/ main.py | ||
| 34 | |||
| 28 | tests:debian: | 35 | tests:debian: |
| 29 | stage: test | 36 | stage: test |
| 30 | script: | 37 | script: |
