From 9f5a0a629a6cf03cd968149e20f7741a7b5f3892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 30 Sep 2020 06:15:12 +0200 Subject: [PATCH] fuck sykit bullshit --- .drone.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 04fe566..48d59a7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,16 +3,6 @@ type: docker name: default steps: - - name: static_analysis - image: "python:3.8" - commands: - - pip3 install --cache-dir='./.pipcache' pylint bandit mccabe - - pip3 install --cache-dir='./.pipcache' -r requirements.txt - - find . -name "*.py" -exec python3 -m py_compile '{}' \; - - find . -name "*.py" -exec pylint '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - - find . -name "*.py" -exec python3 -m mccabe --min 3 '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - - bandit -r . + || if [ $? -eq 1 ]; then echo "you fail"; fi - - name: code-analysis image: aosapps/drone-sonar-plugin settings: