You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2020/01/07 16:44:45 UTC

[allura] branch master updated: Add setup.cfg file for ForgeFeedback

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new b02a48c  Add setup.cfg file for ForgeFeedback
b02a48c is described below

commit b02a48ce58e392859e61dcdc9f4058dcf818dd5c
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Tue Jan 7 11:44:33 2020 -0500

    Add setup.cfg file for ForgeFeedback
---
 ForgeFeedback/setup.cfg | 13 +++++++++++++
 run_tests               |  2 ++
 2 files changed, 15 insertions(+)

diff --git a/ForgeFeedback/setup.cfg b/ForgeFeedback/setup.cfg
new file mode 100644
index 0000000..feae306
--- /dev/null
+++ b/ForgeFeedback/setup.cfg
@@ -0,0 +1,13 @@
+[pep8]
+max-line-length = 119
+
+[flake8]
+max-line-length = 119
+
+[egg_info]
+tag_build = dev0
+
+[coverage:run]
+parallel=true
+concurrency=multiprocessing
+source=../Allura/allura,forgefeedback
\ No newline at end of file
diff --git a/run_tests b/run_tests
index 119e63b..d3b30b7 100755
--- a/run_tests
+++ b/run_tests
@@ -57,6 +57,8 @@ def run_one(cmd, **popen_kwargs):
     while proc.poll() is None:
         line = proc.stdout.readline()
         sys.stdout.write(line)
+        if 'No data to combine' in line:
+            sys.stdout.write('^^ error from "coverage combine" command.  Make sure your package has a setup.cfg with coverage settings like other packages\n')
         sys.stdout.flush()
     # wait for completion and get remainder of output
     out_remainder, _ = proc.communicate()