refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings * fix(signal): annotate async context manager as a generator
This commit is contained in:
1 parent
cb3ba45317
commit
a4d2430140
922 files changed
+406
-7738
No files matched your search
@@ -63,7 +63,6 @@ def assess_webui_contract(value: object) -> Compatibility:
|
||||
}
|
||||
if not isinstance(value, dict):
|
||||
return result
|
||||
# Only the mapping shape is established here; validate each value below.
|
||||
data = cast(dict[object, object], value)
|
||||
version = data.get("version")
|
||||
if isinstance(version, str) and len(version) <= 80 and version.isprintable():
|
||||
|
||||
Reference in new issue
Block a user