#!/bin/bash
./run_tests.py --with-coverage
if [[ $? -ne 0 ]]; then exit 1; fi
flake8 --exclude=".tox" .

#!/bin/bash
coverage erase
./run_tests.py --with-coverage
if [[ $? -ne 0 ]]; then exit 1; fi
flake8 --exclude=".tox" .

Clear coverage before measuring converage
Clear coverage before measuring converage
