Commit 1202483c authored by Felix Kettner's avatar Felix Kettner

add colors and stuff

parent 619665a5
Pipeline #34310 passed with stage
in 26 seconds
#!/bin/bash
printf "\n\e[32m \e[1mChecking for PEP8 compliance...\e[0m"
printf "\n\e[32m \e[1mChecking for PEP8 compliance...\e[0m\n"
echo "PATH=$PATH:/home/gitlab-runner/.local/bin" >> .bashrc
source .bashrc
......@@ -12,20 +12,12 @@ do
echo $file | tr -d '\n'
if [[ $(pycodestyle $file) ]]
then
printf ".....\e[31m \e[1mcheck:\e[0m"
printf ".....\e[31m \e[1mcheck:\e[0m\n"
pycodestyle $file
else
printf ".....\e[32m \e[1mok!\e[0m"
printf ".....\e[32m \e[1mok!\e[0m\n"
fi
fi
done
#for file in pibot/*
#do
# if [[ ${file: -3} == ".py" ]]
# then
# echo $file
# pycodestyle $file
# fi
#done
printf "\e[32m \e[1mPEP8 check done.\e[0m\n"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment