Commit 619665a5 authored by Felix Kettner's avatar Felix Kettner

Update pep8.sh

parent e1cdc6ea
Pipeline #34309 passed with stage
in 28 seconds
#!/bin/bash
echo -e "\n\e[32m \e[1mChecking for PEP8 compliance...\e[0m"
printf "\n\e[32m \e[1mChecking for PEP8 compliance...\e[0m"
echo "PATH=$PATH:/home/gitlab-runner/.local/bin" >> .bashrc
source .bashrc
......@@ -12,10 +12,10 @@ do
echo $file | tr -d '\n'
if [[ $(pycodestyle $file) ]]
then
echo -e ".....\e[31m \e[1mcheck:\e[0m"
printf ".....\e[31m \e[1mcheck:\e[0m"
pycodestyle $file
else
echo -e ".....\e[32m \e[1mok!\e[0m"
printf ".....\e[32m \e[1mok!\e[0m"
fi
fi
done
......@@ -28,4 +28,4 @@ done
# pycodestyle $file
# fi
#done
echo -e "\e[32m \e[1mPEP8 check done.\e[0m\n"
\ No newline at end of file
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