[CODE QUALITY]

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

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

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

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

@ -1,17 +1,20 @@
from dataclasses import dataclass
@dataclass
class BlockDevice:
device: str
cluster: str
description: str
def __init__(self, device: str, cluster: str, description: str):
self.device = device
self.cluster = cluster
self.description = description
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