mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +01:00
pretier and cleaner run_test.sh
This commit is contained in:
parent
efcaad54fc
commit
76d8533991
13
run_test.sh
13
run_test.sh
@ -1,4 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
Red='\33[0;31m';
|
||||||
|
Gre='\33[0;32m';
|
||||||
|
RCol='\33[0m';
|
||||||
|
|
||||||
cd `dirname $0`
|
cd `dirname $0`
|
||||||
python setup.py test &&\
|
python setup.py test &&\
|
||||||
pep8 --repeat --show-source --exclude=.venv,.tox,dist,docs,build,*.egg,tests,misc .
|
printf "\nPEP 8 compliance check:\n\n"
|
||||||
|
pep8 \
|
||||||
|
--repeat \
|
||||||
|
--show-source \
|
||||||
|
--exclude=.venv,.tox,dist,docs,build,*.egg,tests,misc . && \
|
||||||
|
printf "[${Gre}Passed${RCol}] Yeah! everything is clean\n\n" || \
|
||||||
|
printf "[${Red}Failed${RCol}] Oh No! there is some mess to fix\n\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user