From b258b2e00bff272f5dd8cb5f3234366fe9774a99 Mon Sep 17 00:00:00 2001 From: Peter Kosztolanyi Date: Thu, 5 Nov 2020 10:54:15 +0000 Subject: [PATCH] Make pylint happy (#15) --- Makefile | 2 +- singer/transform.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 734843c..fda142e 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ install: check_prereqs python3 -m pip install -e '.[dev]' pylinting: - pylint singer -d missing-docstring,broad-except,bare-except,too-many-return-statements,too-many-branches,too-many-arguments,no-else-return,too-few-public-methods,fixme,protected-access + pylint singer --extension-pkg-whitelist=ciso8601 -d missing-docstring,broad-except,bare-except,too-many-return-statements,too-many-branches,too-many-arguments,no-else-return,too-few-public-methods,fixme,protected-access test: nosetests --with-doctest -v diff --git a/singer/transform.py b/singer/transform.py index c165e38..98d4795 100644 --- a/singer/transform.py +++ b/singer/transform.py @@ -46,7 +46,7 @@ def __init__(self, errors): msg = "Errors during transform\n\t{}".format("\n\t".join(estrs)) msg += "\n\n\nErrors during transform: [{}]".format(", ".join(estrs)) - super(SchemaMismatch, self).__init__(msg) + super().__init__(msg) class SchemaKey: ref = "$ref"