tests/tools/check_source.sh
changeset 2251 62eba810212e
parent 2241 e762e234181d
child 2388 13acfd8d33e6
equal deleted inserted replaced
2250:86f61c4dfe76 2251:62eba810212e
   314 }
   314 }
   315 
   315 
   316 
   316 
   317 get_files_to_check()
   317 get_files_to_check()
   318 {
   318 {
   319     py_files=$(find . -name '*.py' -not -path '*/build/*')
   319     py_files=$(find . -name '*.py' -not -path '*/build/*' -not -path './etherlab/*')
   320     if [ -e .hg/skiphook ]; then
   320     if [ -e .hg/skiphook ]; then
   321 	echo "Skipping checks in the hook ..."
   321 	echo "Skipping checks in the hook ..."
   322 	exit 0
   322 	exit 0
   323     fi
   323     fi
   324     if [ "$1" = "--only-changes" ]; then
   324     if [ "$1" = "--only-changes" ]; then