Skip to content

Commit

Permalink
pep8: shorten line
Browse files Browse the repository at this point in the history
  • Loading branch information
weatherfrog committed Jan 22, 2022
1 parent 80223e1 commit 5e9e0c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down

0 comments on commit 5e9e0c4

Please sign in to comment.