summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-11 08:46:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-11 08:46:20 +0000
commit60b8ecaf2afb874b733c1c61be26da68df51d989 (patch)
tree8888727f276e44d23fc64b6b285dc00150a7a466 /scripts
parentInitial commit. (diff)
downloadtreelib-60b8ecaf2afb874b733c1c61be26da68df51d989.tar.xz
treelib-60b8ecaf2afb874b733c1c61be26da68df51d989.zip
Adding upstream version 1.6.4.upstream/1.6.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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