fix drone config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2020-01-23 14:30:09 +01:00
parent 5f4ff5e387
commit a5494ae5c8
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -7,7 +7,6 @@ steps:
image: python:3
commands:
- pip3 install pylint bandit mccabe
- pip3 install -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