Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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 = [
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/bandit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ tests:
- B317
- B318
- B319
- B320
- B601
- B602
- B604
Expand Down
4 changes: 2 additions & 2 deletions tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading