From 5e9e0c42ed1bb16907244e51f7a1c92f7c27d1bb Mon Sep 17 00:00:00 2001 From: Remo Goetschi Date: Sat, 22 Jan 2022 21:51:55 +0100 Subject: [PATCH] pep8: shorten line --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 4488e64de..0de21a929 100644 --- a/setup.py +++ b/setup.py @@ -165,7 +165,8 @@ def find_proj_version_by_program(conda=None): except (OSError, IndexError, ValueError, subprocess.CalledProcessError): warnings.warn( f'Unable to determine Proj version. Ensure you have ' - f'{PROJ_MIN_VERSION_STRING} or later installed, or installation may fail.' + f'{PROJ_MIN_VERSION_STRING} or later installed, or installation ' + f'may fail.' ) proj_version = (0, 0, 0) @@ -181,8 +182,8 @@ def find_proj_version_by_program(conda=None): if proj_version < PROJ_MIN_VERSION: proj_version_string = '.'.join(str(v) for v in proj_version) print( - f'Proj version {proj_version_string} is installed, but cartopy requires ' - f'at least version {PROJ_MIN_VERSION_STRING}', + f'Proj version {proj_version_string} is installed, but cartopy' + f' requires at least version {PROJ_MIN_VERSION_STRING}', file=sys.stderr) exit(1)