1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

enable flake8-docstrings

This commit is contained in:
Patrick Kanzler
2023-08-10 22:26:46 +02:00
parent fbd93e3540
commit b1011a1ee5
5 changed files with 6 additions and 8 deletions

View File

@@ -423,7 +423,7 @@ if _WIN32PRINT:
self.hPrinter = None
def _raw(self, msg):
"""Print any command sent in raw format
"""Print any command sent in raw format.
:param msg: arbitrary code to be printed
:type msg: bytes
@@ -583,7 +583,7 @@ if not sys.platform.startswith("win"):
self.lp.terminate()
def flush(self):
"""End line and wait for new commands"""
"""End line and wait for new commands."""
if self.lp.stdin.writable():
self.lp.stdin.write(b"\n")
if self.lp.stdin.closed is False: