From 52e7158346895ca5f4c9512f68044c90318a7ead Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Feb 2023 13:28:58 +0000 Subject: [PATCH 1/2] Bump pylint from 2.15.10 to 2.16.1 Bumps [pylint](https://github.com/PyCQA/pylint) from 2.15.10 to 2.16.1. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Commits](https://github.com/PyCQA/pylint/compare/v2.15.10...v2.16.1) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_lint.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_lint.txt b/requirements_lint.txt index f7a31ad..980c387 100644 --- a/requirements_lint.txt +++ b/requirements_lint.txt @@ -1,4 +1,4 @@ black==23.1.0 flake8==6.0.0 flake8-docstrings==1.7.0 -pylint==2.15.10 +pylint==2.16.1 From d1827e83b3f0b6dd353956bb246cf23d5b2b7775 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Mon, 6 Feb 2023 15:37:10 +0100 Subject: [PATCH 2/2] Delint --- pylintrc | 3 +-- scripts/setup_tests.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pylintrc b/pylintrc index 199fca4..dc2ce29 100644 --- a/pylintrc +++ b/pylintrc @@ -1,10 +1,9 @@ -[MASTER] +[MAIN] reports=no # Black needs to disable wrong-hanging-indent. disable= - bad-continuation, duplicate-code, locally-disabled, unused-argument, diff --git a/scripts/setup_tests.py b/scripts/setup_tests.py index ed72ec6..bedfc76 100755 --- a/scripts/setup_tests.py +++ b/scripts/setup_tests.py @@ -60,8 +60,8 @@ def read_image_data(root_dir=None): except OSError as exc: print("Failed reading image:", exc) raise - else: - image_data.append({"path": path, "data": data}) + + image_data.append({"path": path, "data": data}) return image_data