summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/flake8.sh3
-rwxr-xr-xscripts/testing.sh6
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