From 7cfd99d17f574de139ccd11e5cdd3b2a5b4ca124 Mon Sep 17 00:00:00 2001 From: xmatthias Date: Sat, 16 Jun 2018 21:00:45 +0200 Subject: [PATCH] exclude __main__.py from coveralls - if __name__ == '__main__' is close to untestable - and should do nothing other than calling another function. --- .coveragerc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index 95eea4f8f..80ed2af23 100644 --- a/.coveragerc +++ b/.coveragerc @@ -2,4 +2,5 @@ omit = scripts/* freqtrade/tests/* - freqtrade/vendor/* \ No newline at end of file + freqtrade/vendor/* + freatrade/__main__.py