From d314121f708ce77b0f2d2e20a19b3bbd5d9e3111 Mon Sep 17 00:00:00 2001 From: Johannes Nussbaum <39048939+jnussbaum@users.noreply.github.com> Date: Mon, 20 Nov 2023 11:08:18 +0100 Subject: [PATCH] chore: remove unnecessary pylint ignore comments (#645) --- test/benchmarking/test_stash_circular_references.py | 2 +- test/unittests/commands/xmlupload/connection_mock.py | 2 +- .../xmlupload/stash/test_construct_and_analyze_graph.py | 2 +- .../commands/xmlupload/stash/test_upload_stash_with_mock.py | 2 +- .../commands/xmlupload/stash/test_upload_stashed_xml_texts.py | 2 +- test/unittests/commands/xmlupload/test_list_client_live.py | 2 +- test/unittests/commands/xmlupload/test_project_client_live.py | 2 +- .../unittests/commands/xmlupload/test_resource_create_client.py | 2 +- test/unittests/utils/test_date_util.py | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/benchmarking/test_stash_circular_references.py b/test/benchmarking/test_stash_circular_references.py index 3642719ac..da3569723 100644 --- a/test/benchmarking/test_stash_circular_references.py +++ b/test/benchmarking/test_stash_circular_references.py @@ -1,4 +1,4 @@ -# pylint: disable=missing-class-docstring,missing-function-docstring,protected-access +# pylint: disable=missing-function-docstring import pytest from termcolor import cprint diff --git a/test/unittests/commands/xmlupload/connection_mock.py b/test/unittests/commands/xmlupload/connection_mock.py index 61f67ca17..47ee0c70e 100644 --- a/test/unittests/commands/xmlupload/connection_mock.py +++ b/test/unittests/commands/xmlupload/connection_mock.py @@ -1,7 +1,7 @@ from dataclasses import dataclass from typing import Any -# pylint: disable=missing-class-docstring,missing-function-docstring,unused-argument +# pylint: disable=missing-function-docstring,unused-argument @dataclass diff --git a/test/unittests/commands/xmlupload/stash/test_construct_and_analyze_graph.py b/test/unittests/commands/xmlupload/stash/test_construct_and_analyze_graph.py index a550c7f48..294e306ee 100644 --- a/test/unittests/commands/xmlupload/stash/test_construct_and_analyze_graph.py +++ b/test/unittests/commands/xmlupload/stash/test_construct_and_analyze_graph.py @@ -1,4 +1,4 @@ -# pylint: disable=missing-class-docstring,missing-function-docstring,protected-access,no-member +# pylint: disable=missing-function-docstring from typing import Any diff --git a/test/unittests/commands/xmlupload/stash/test_upload_stash_with_mock.py b/test/unittests/commands/xmlupload/stash/test_upload_stash_with_mock.py index b7aad7b39..a17ca6fb8 100644 --- a/test/unittests/commands/xmlupload/stash/test_upload_stash_with_mock.py +++ b/test/unittests/commands/xmlupload/stash/test_upload_stash_with_mock.py @@ -14,7 +14,7 @@ from dsp_tools.commands.xmlupload.xmlupload import _upload_stash from dsp_tools.utils.connection import Connection -# pylint: disable=unused-argument,missing-function-docstring,missing-class-docstring,too-few-public-methods +# pylint: disable=missing-function-docstring class ProjectClientStub: diff --git a/test/unittests/commands/xmlupload/stash/test_upload_stashed_xml_texts.py b/test/unittests/commands/xmlupload/stash/test_upload_stashed_xml_texts.py index 141d1f7be..a281b14e7 100644 --- a/test/unittests/commands/xmlupload/stash/test_upload_stashed_xml_texts.py +++ b/test/unittests/commands/xmlupload/stash/test_upload_stashed_xml_texts.py @@ -1,4 +1,4 @@ -# pylint: disable=missing-class-docstring,missing-function-docstring,protected-access +# pylint: disable=missing-class-docstring,missing-function-docstring from unittest import TestCase diff --git a/test/unittests/commands/xmlupload/test_list_client_live.py b/test/unittests/commands/xmlupload/test_list_client_live.py index 89da2c321..87a3c606e 100644 --- a/test/unittests/commands/xmlupload/test_list_client_live.py +++ b/test/unittests/commands/xmlupload/test_list_client_live.py @@ -10,7 +10,7 @@ _get_list_iris_from_server, ) -# pylint: disable=missing-class-docstring,missing-function-docstring,unused-argument +# pylint: disable=missing-class-docstring,missing-function-docstring @dataclass diff --git a/test/unittests/commands/xmlupload/test_project_client_live.py b/test/unittests/commands/xmlupload/test_project_client_live.py index 9df3882b0..37686201f 100644 --- a/test/unittests/commands/xmlupload/test_project_client_live.py +++ b/test/unittests/commands/xmlupload/test_project_client_live.py @@ -4,7 +4,7 @@ from dsp_tools.commands.xmlupload.project_client import ProjectClientLive -# pylint: disable=missing-class-docstring,missing-function-docstring,unused-argument,redefined-outer-name +# pylint: disable=missing-class-docstring,missing-function-docstring @dataclass diff --git a/test/unittests/commands/xmlupload/test_resource_create_client.py b/test/unittests/commands/xmlupload/test_resource_create_client.py index 616d8f2b2..042a57f0f 100644 --- a/test/unittests/commands/xmlupload/test_resource_create_client.py +++ b/test/unittests/commands/xmlupload/test_resource_create_client.py @@ -5,7 +5,7 @@ from dsp_tools.commands.xmlupload.resource_create_client import _make_bitstream_file_value, _to_boolean from dsp_tools.models.exceptions import BaseError -# pylint: disable=missing-class-docstring,missing-function-docstring,unused-argument,redefined-outer-name,too-many-public-methods +# pylint: disable=missing-function-docstring,too-many-public-methods class TestMakeBitstreamFileValue: diff --git a/test/unittests/utils/test_date_util.py b/test/unittests/utils/test_date_util.py index 98cbd6fe0..e72008dce 100644 --- a/test/unittests/utils/test_date_util.py +++ b/test/unittests/utils/test_date_util.py @@ -11,7 +11,7 @@ parse_date_string, ) -# pylint: disable=missing-class-docstring,missing-function-docstring,too-many-public-methods,too-few-public-methods +# pylint: disable=missing-function-docstring class TestParseDateStringWithDateOnly: