We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e69939 commit cabe98aCopy full SHA for cabe98a
music_assistant_client/helpers.py
@@ -44,7 +44,7 @@ def compact_media_item_dict(item: dict[str, Any]) -> dict[str, Any]:
44
def searchresults_as_compact_dict(search_results: SearchResults) -> dict[str, Any]:
45
"""Return compacted search result dict."""
46
dict_result: dict[str, list[dict[str, Any]]] = search_results.to_dict()
47
- for media_type_key in dict_result:
+ for media_type_key in dict_result: # noqa: PLC0206
48
for item in dict_result[media_type_key]:
49
if not isinstance(item, dict):
50
# guards against invalid data
pyproject.toml
@@ -89,7 +89,6 @@ asyncio_mode = "auto"
89
ignore = [
90
"ANN002", # Just annoying, not really useful
91
"ANN003", # Just annoying, not really useful
92
- "ANN101", # Self... explanatory
93
"ANN401", # Opinioated warning on disallowing dynamically typed expressions
94
"D203", # Conflicts with other rules
95
"D213", # Conflicts with other rules
@@ -100,8 +99,8 @@ ignore = [
100
99
"PLR2004", # Just annoying, not really useful
101
"PD011", # Just annoying, not really useful
102
"S101", # assert is often used to satisfy type checking
103
- "TCH001", # Just annoying, not really useful
104
- "TCH003", # Just annoying, not really useful
+ "TC001", # Just annoying, not really useful
+ "TC003", # Just annoying, not really useful
105
"TD002", # Just annoying, not really useful
106
"TD003", # Just annoying, not really useful
107
"TD004", # Just annoying, not really useful
0 commit comments