diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/flake8.sh | 3 | ||||
-rwxr-xr-x | scripts/testing.sh | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/scripts/flake8.sh b/scripts/flake8.sh new file mode 100755 index 0000000..b93226d --- /dev/null +++ b/scripts/flake8.sh @@ -0,0 +1,3 @@ +#!/bin/bash +flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics +flake8 . --count --max-line-length=127 --exclude docs/source/conf.py --statistics diff --git a/scripts/testing.sh b/scripts/testing.sh new file mode 100755 index 0000000..28f70e2 --- /dev/null +++ b/scripts/testing.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +nosetests --with-coverage --cover-package=treelib \ + --cover-erase --cover-tests \ + -d --all-modules \ + tests |