Fixed lack of spacing for multi-line strings (#619)

Co-authored-by: Wes Appler <wes@lamemakes>
This commit is contained in:
Wesley Appler 2024-01-11 06:35:03 -05:00 committed by GitHub
parent 776b8a26ad
commit a865b715f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View File

@ -49,8 +49,8 @@ def dependency_pycups(func):
"""Throw a RuntimeError if pycups is not imported."""
if not is_usable():
raise RuntimeError(
"Printing with PyCups requires the pycups library to"
"be installed. Please refer to the documentation on"
"Printing with PyCups requires the pycups library to "
"be installed. Please refer to the documentation on "
"what to install and install the dependencies for pycups."
)
return func(*args, **kwargs)

View File

@ -34,7 +34,7 @@ def dependency_linux_lp(func):
"""Throw a RuntimeError if not on a non-Windows system."""
if not is_usable():
raise RuntimeError(
"This printer driver depends on LP which is not"
"This printer driver depends on LP which is not "
"available on Windows systems."
)
return func(*args, **kwargs)

View File

@ -43,8 +43,8 @@ def dependency_pyserial(func):
"""Throw a RuntimeError if pyserial not installed."""
if not is_usable():
raise RuntimeError(
"Printing with Serial requires the pyserial library to"
"be installed. Please refer to the documentation on"
"Printing with Serial requires the pyserial library to "
"be installed. Please refer to the documentation on "
"what to install and install the dependencies for pyserial."
)
return func(*args, **kwargs)

View File

@ -42,8 +42,8 @@ def dependency_usb(func):
"""Throw a RuntimeError if usb not installed."""
if not is_usable():
raise RuntimeError(
"Printing with USB connection requires a usb library to"
"be installed. Please refer to the documentation on"
"Printing with USB connection requires a usb library to "
"be installed. Please refer to the documentation on "
"what to install and install the dependencies for USB."
)
return func(*args, **kwargs)

View File

@ -45,8 +45,8 @@ def dependency_win32print(func):
"""Throw a RuntimeError if win32print not installed."""
if not is_usable():
raise RuntimeError(
"Printing with Win32Raw requires a win32print library to"
"be installed. Please refer to the documentation on"
"Printing with Win32Raw requires a win32print library to "
"be installed. Please refer to the documentation on "
"what to install and install the dependencies for win32print."
)
return func(*args, **kwargs)