Skip to content

Commit a3fd6ba

Browse files
committed
Get flake8 passing
1 parent 8b0a4af commit a3fd6ba

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/shelllogger/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
from .ShellLogger import ShellLogger, ShellLoggerDecoder, ShellLoggerEncoder
2+
3+
__all__ = ["ShellLogger", "ShellLoggerDecoder", "ShellLoggerEncoder"]

src/shelllogger/classes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,12 @@ def run(self, command: str, **kwargs) -> SimpleNamespace:
187187

188188
# Set the `RET_CODE` environment variable, such that we can
189189
# access it later.
190-
os.write(self.aux_stdin_wfd, f"RET_CODE=$?\n".encode())
190+
os.write(self.aux_stdin_wfd, "RET_CODE=$?\n".encode())
191191

192192
# Because these writes are non-blocking, tell the shell that the
193193
# writes are complete.
194-
os.write(self.aux_stdin_wfd, f"printf '\\4'\n".encode())
195-
os.write(self.aux_stdin_wfd, f"printf '\\4' 1>&2\n".encode())
194+
os.write(self.aux_stdin_wfd, "printf '\\4'\n".encode())
195+
os.write(self.aux_stdin_wfd, "printf '\\4' 1>&2\n".encode())
196196

197197
# Tee the output to multiple sinks (files, strings,
198198
# `stdout`/`stderr`).

0 commit comments

Comments
 (0)