diff --git a/pyproject.toml b/pyproject.toml index b573a777e..0c70404a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ include = ["plugwise*"] # 20241208: W0201 / attribute-defined-outside-init # 20241208: R1702 / too-many-nested-blocks # too many nested blocks in test_init 8/5 # 20241208: R6102 / consider-using-tuple -# 20241208: Recommended disabling => "implicit-str-concat", # ISC001 - 2 occurances! +# 20241208: Recommended disabling => "implicit-str-concat", # ISC001 - 2 occurrences! ## [tool.pylint.MAIN] @@ -75,7 +75,7 @@ init-hook = """\ load-plugins = [ "pylint.extensions.code_style", "pylint.extensions.typing", - "pylint_per_file_ignores", +# "pylint_per_file_ignores", ] persistent = false extension-pkg-allow-list = [ @@ -366,12 +366,12 @@ enable = [ #"useless-suppression", # temporarily every now and then to clean them up "use-symbolic-message-instead", ] -per-file-ignores = [ - # redefined-outer-name: Tests reference fixtures in the test function - # use-implicit-booleaness-not-comparison: Tests need to validate that a list - # or a dict is returned - "/tests/:redefined-outer-name,use-implicit-booleaness-not-comparison", -] +#per-file-ignores = [ +# # redefined-outer-name: Tests reference fixtures in the test function +# # use-implicit-booleaness-not-comparison: Tests need to validate that a list +# # or a dict is returned +# "/tests/:redefined-outer-name,use-implicit-booleaness-not-comparison", +#] [tool.pylint.REPORTS] score = false diff --git a/tests/bandit.yaml b/tests/bandit.yaml index 46566cc98..4a8cda726 100644 --- a/tests/bandit.yaml +++ b/tests/bandit.yaml @@ -12,7 +12,6 @@ tests: - B317 - B318 - B319 - - B320 - B601 - B602 - B604 diff --git a/tests/test_init.py b/tests/test_init.py index b35a35138..3448e4254 100644 --- a/tests/test_init.py +++ b/tests/test_init.py @@ -340,7 +340,7 @@ async def connect( assert smile._timeout == 30 # Connect to the smile - version = None + version = None # pylint: disable=redefined-outer-name try: version = await smile.connect() assert version is not None @@ -426,7 +426,7 @@ async def connect_legacy( assert smile._timeout == 30 # Connect to the smile - version = None + version = None # pylint: disable=redefined-outer-name try: version = await smile.connect() assert version is not None