From 8cae9b5a5375d4834f524004055b5cc28236f138 Mon Sep 17 00:00:00 2001 From: Alejandro Gonzalez Date: Sat, 16 May 2020 18:53:07 +0900 Subject: [PATCH] Exclude pprint from codecov --- .coveragerc | 1 + baikal/_core/pprint.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.coveragerc b/.coveragerc index 423697a..5103320 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,6 +1,7 @@ [run] branch = True source = baikal +omit = baikal/_core/pprint.py parallel = True [report] diff --git a/baikal/_core/pprint.py b/baikal/_core/pprint.py index fba7827..b845afc 100644 --- a/baikal/_core/pprint.py +++ b/baikal/_core/pprint.py @@ -2,6 +2,8 @@ Step.__repr__ for pretty-printing steps. It is derived from the one in scikit-learn: https://github.com/scikit-learn/scikit-learn/blob/5a4340834d23c4bdcd813ccda24a690ae174c168/sklearn/utils/_pprint.py + +TODO: Although we trust this borrowed code, it'd be nice to have test coverage. """ # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,