added coverage+find+pylint dev scripts
authorForrest Voight <forrest@forre.st>
Wed, 31 Oct 2012 15:07:00 +0000 (11:07 -0400)
committerForrest Voight <forrest@forre.st>
Wed, 31 Oct 2012 15:07:21 +0000 (11:07 -0400)
dev/COVERAGE_REPORT [new file with mode: 0644]
dev/COVERAGE_TEST [new file with mode: 0644]
dev/FIND [new file with mode: 0644]
dev/LINT [new file with mode: 0644]

diff --git a/dev/COVERAGE_REPORT b/dev/COVERAGE_REPORT
new file mode 100644 (file)
index 0000000..e69db4b
--- /dev/null
@@ -0,0 +1 @@
+python -m coverage report --include='p2pool/*' --omit='p2pool/test/*' -m
diff --git a/dev/COVERAGE_TEST b/dev/COVERAGE_TEST
new file mode 100644 (file)
index 0000000..9e4d753
--- /dev/null
@@ -0,0 +1 @@
+python -m coverage run `which trial` p2pool
diff --git a/dev/FIND b/dev/FIND
new file mode 100644 (file)
index 0000000..57fd944
--- /dev/null
+++ b/dev/FIND
@@ -0,0 +1 @@
+find p2pool/ -iname '*py' | xargs grep $@
diff --git a/dev/LINT b/dev/LINT
new file mode 100644 (file)
index 0000000..d5e9baa
--- /dev/null
+++ b/dev/LINT
@@ -0,0 +1 @@
+pylint p2pool/ -E | grep -v reactor | grep -v hashlib | grep -v 'Yield outside function' | grep -v 'function already defined'