diff --git a/requirements-dev.txt b/requirements-dev.txt index 4f2a3f5..7c2aad0 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ -r requirements.txt coverage flake8 +cosl diff --git a/run_tests b/run_tests index a8d64b9..e47ee64 100755 --- a/run_tests +++ b/run_tests @@ -6,11 +6,10 @@ if [ -z "$VIRTUAL_ENV" -a -d venv/ ]; then . venv/bin/activate fi -if [ -z "$PYTHONPATH" ]; then - export PYTHONPATH=src -else - export PYTHONPATH="src:$PYTHONPATH" +if [ -n "$PYTHONPATH" ]; then + export PYTHONPATH=":$PYTHONPATH" fi +export PYTHONPATH="src:lib$PYTHONPATH" flake8 coverage run --source=src -m unittest -v "$@"