fix formatting, pin ruff version, remove rdp refs

This commit is contained in:
2025-03-02 00:41:33 -05:00
parent c15e6cb082
commit 4613e8c2b3
8 changed files with 170 additions and 1260 deletions

View File

@ -18,6 +18,7 @@ def configure_logger(level: str = "INFO") -> None:
handlers=[logging.StreamHandler(sys.stdout)],
)
def partition(predicate, iterable):
"""Partition entries into false entries and true entries.
@ -27,6 +28,7 @@ def partition(predicate, iterable):
t1, t2 = itertools.tee(iterable)
return itertools.filterfalse(predicate, t1), filter(predicate, t2)
def bash_wrapper(command: str, path: str = ".") -> tuple[str, str, int]:
"""Execute a bash command and capture the output.