This commit is contained in:
parent
ca50cc1a33
commit
8673acea3d
15
.done-ci.yml
15
.done-ci.yml
@ -1,15 +0,0 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: static
|
||||
image: python
|
||||
commands:
|
||||
- apt-get update && apt-get install -y shellcheck
|
||||
- pip3 install pylint bandit mccabe
|
||||
- for file in $(find . -type f -name \"*.sh\"); do shellcheck --format=gcc $file; done;
|
||||
- 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 .
|
Loading…
Reference in New Issue
Block a user