From 595144cdd9e907af22bab18152c4551ed7fc71b6 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 18 May 2020 12:19:16 +0000 Subject: [PATCH 1/2] build(deps-dev): bump pylint from 2.4.4 to 2.5.2 Bumps [pylint](https://github.com/PyCQA/pylint) from 2.4.4 to 2.5.2. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.4.4...pylint-2.5.2) Signed-off-by: dependabot-preview[bot] --- Pipfile.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index c0d641461..67929c6f5 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -844,10 +844,10 @@ }, "astroid": { "hashes": [ - "sha256:71ea07f44df9568a75d0f354c49143a4575d90645e9fead6dfb52c26a85ed13a", - "sha256:840947ebfa8b58f318d42301cf8c0a20fd794a33b61cc4638e28e9e61ba32f42" + "sha256:4c17cea3e592c21b6e222f673868961bad77e1f985cb1694ed077475a89229c1", + "sha256:d8506842a3faf734b81599c8b98dcc423de863adcc1999248480b18bd31a0f38" ], - "version": "==2.3.3" + "version": "==2.4.1" }, "attrs": { "hashes": [ @@ -1039,11 +1039,11 @@ }, "pylint": { "hashes": [ - "sha256:3db5468ad013380e987410a8d6956226963aed94ecb5f9d3a28acca6d9ac36cd", - "sha256:886e6afc935ea2590b462664b161ca9a5e40168ea99e5300935f6591ad467df4" + "sha256:b95e31850f3af163c2283ed40432f053acbc8fc6eba6a069cb518d9dbf71848c", + "sha256:dd506acce0427e9e08fb87274bcaa953d38b50a58207170dbf5b36cf3e16957b" ], "index": "pypi", - "version": "==2.4.4" + "version": "==2.5.2" }, "pylint-django": { "hashes": [ @@ -1181,9 +1181,9 @@ }, "wrapt": { "hashes": [ - "sha256:565a021fd19419476b9362b05eeaa094178de64f8361e44468f9e9d7843901e1" + "sha256:b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7" ], - "version": "==1.11.2" + "version": "==1.12.1" } } } From c903c81bd580f1a7bce5e77cbce84c6f54ed8589 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 18 May 2020 18:15:39 +0200 Subject: [PATCH 2/2] root: update pylint ignore list --- .pylintrc | 3 +-- passbook/providers/saml/processors/base.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.pylintrc b/.pylintrc index c3044af58..894546021 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,9 +1,8 @@ [MASTER] -disable=redefined-outer-name,arguments-differ,no-self-use,cyclic-import,fixme,locally-disabled,unpacking-non-sequence,too-many-ancestors,too-many-branches,too-few-public-methods,import-outside-toplevel,bad-continuation +disable=redefined-outer-name,arguments-differ,no-self-use,cyclic-import,fixme,locally-disabled,too-many-ancestors,too-few-public-methods,import-outside-toplevel,bad-continuation,signature-differs load-plugins=pylint_django,pylint.extensions.bad_builtin extension-pkg-whitelist=lxml const-rgx=[a-zA-Z0-9_]{1,40}$ ignored-modules=django-otp jobs=4 - diff --git a/passbook/providers/saml/processors/base.py b/passbook/providers/saml/processors/base.py index c187ebbf8..340249a15 100644 --- a/passbook/providers/saml/processors/base.py +++ b/passbook/providers/saml/processors/base.py @@ -195,7 +195,7 @@ class Processor: try: self._extract_saml_request() except KeyError: - raise CannotHandleAssertion(f"Couldn't find SAML request in user session") + raise CannotHandleAssertion("Couldn't find SAML request in user session") try: self._decode_and_parse_request()