fix formatting, pin ruff version, remove rdp refs
This commit is contained in:
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user