[CODE QUALITY]

pull/343/head
Kye 1 year ago
parent 4990ea5951
commit 4055db314a

@ -85,7 +85,9 @@ def main():
] ]
threads = [] threads = []
for cls in classes: for cls in classes:
thread = threading.Thread(target=process_documentation, args=(cls,)) thread = threading.Thread(
target=process_documentation, args=(cls,)
)
threads.append(thread) threads.append(thread)
thread.start() thread.start()

@ -58,5 +58,5 @@ __all__ = [
"BaseStructure", "BaseStructure",
"detect_markdown", "detect_markdown",
"Task", "Task",
"block" "block",
] ]

@ -19,6 +19,7 @@ def block(
Returns: Returns:
Callable[..., Any]: The transformed function. Callable[..., Any]: The transformed function.
""" """
def wrapper(*args, **kwargs): def wrapper(*args, **kwargs):
# Here you can add code to execute the function on various hardwares # Here you can add code to execute the function on various hardwares
# For now, we'll just call the function normally # For now, we'll just call the function normally

@ -1,6 +1,6 @@
from dataclasses import dataclass from dataclasses import dataclass
@dataclass @dataclass
class BlockDevice: class BlockDevice:
device: str device: str
@ -13,5 +13,8 @@ class BlockDevice:
self.description = description self.description = description
def __str__(self): def __str__(self):
return f"BlockDevice(device={self.device}, cluster={self.cluster}, description={self.description})" return (
f"BlockDevice(device={self.device},"
f" cluster={self.cluster},"
f" description={self.description})"
)

Loading…
Cancel
Save