fixing flake8 tests
[osm/RO.git] / devops-stages / stage-test.sh
index 13cef85..69d1fff 100755 (executable)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-flake8 RO/osm_ro/wim RO/osm_ro/vim_thread.py --max-line-length 120 \
-    --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp,osm_im --ignore W291,W293,E226,E402,W504
+for tox_file in `ls */tox.ini` ; do
+    [ "$tox_file" = "RO-client/tox.ini" ] || [ "$tox_file" = "RO-VIM-vmware/tox.ini" ] ||
+    [ "$tox_file" = "RO-VIM-openvim/tox.ini" ] || [ "$tox_file" = "build/tox.ini" ] && continue
+    echo
+    echo launching "$tox_file"
+    tox -c "$tox_file" --recreate || exit 1
+done