--- a/tests/tools/check_source.sh Wed May 23 11:48:34 2018 +0300
+++ b/tests/tools/check_source.sh Wed May 23 12:13:48 2018 +0300
@@ -34,9 +34,11 @@
- echo "Syntax checking..."
+ echo "Syntax checking using python ..." py_files=$(find . -name '*.py')
# remove compiled Python files
find . -name '*.pyc' -exec rm -f {} \;
@@ -48,6 +50,8 @@
# pep8 was renamed to pycodestyle
@@ -60,6 +64,8 @@
echo "pep8/pycodestyle is not found"
+ echo -n "pep8 version: " @@ -91,6 +97,9 @@
@@ -159,6 +168,9 @@
@@ -172,10 +184,16 @@
+ echo -n "flake8 version: " flake8 --max-line-length=300 --exclude=build --builtins="_" ./
@@ -188,6 +206,7 @@
export PYTHONPATH="$PWD/../CanFestival-3/objdictgen":$PYTHONPATH
@@ -291,6 +310,9 @@