Commit 0ed5d8f0 authored by Felix Kettner's avatar Felix Kettner

Update pep8.sh

parent 208e1e90
Pipeline #34304 passed with stage
in 28 seconds
......@@ -3,17 +3,17 @@
echo "PATH=$PATH:/home/gitlab-runner/.local/bin" >> .bashrc
source .bashrc
for file in *
for file in */*
do
if [[ ${file: -3} == ".py" ]]
then
echo $file | tr -d '\n'
if [[ $(pycodestyle $file) ]]
then
echo -e "...\e[92m \e[1mobey PEP8:\e[0m"
echo -e ".....\e[31m \e[1mcheck:\e[0m"
pycodestyle $file
else
echo -e "...\e[92m \e[1mok\e[0m"
echo -e ".....\e[32m \e[1mok!\e[0m"
fi
fi
done
......
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