Commit 36b33183 authored by Felix Kettner's avatar Felix Kettner

Update pep8.sh

parent 2c5f39d5
Pipeline #34302 failed with stage
in 18 seconds
......@@ -6,10 +6,15 @@ source .bashrc
for file in *
do
if [[ ${file: -3} == ".py" ]]
then
then
echo $file | tr -d '\n'
echo -e "\e[32m...\e[0m"
pycodestyle $file
if [[ pycodestyle $file ]]
then
echo -e "...\e[92m \e[1mobey PEP8:\e[0m"
pycodestyle $file
else
echo -e "...\e[92m \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