Apply black formatting.

Apply isort.
This commit is contained in:
Dannon Baker
2022-02-03 07:42:20 -05:00
parent ff2f3600f4
commit 623a5e165a
1589 changed files with 91081 additions and 66217 deletions
+7 -4
View File
@@ -11,19 +11,22 @@ def check_python():
# supported
return
else:
version_string = '.'.join(str(_) for _ in sys.version_info[:3])
msg = """\
version_string = ".".join(str(_) for _ in sys.version_info[:3])
msg = (
"""\
ERROR: Your Python version is: %s
Galaxy is currently supported on Python >=3.7 .
To run Galaxy, please install a supported Python version.
If a supported version is already installed but is not your default,
https://docs.galaxyproject.org/en/latest/admin/python.html contains instructions
on how to force Galaxy to use a different version.""" % version_string
on how to force Galaxy to use a different version."""
% version_string
)
print(msg, file=sys.stderr)
raise Exception(msg)
if __name__ == '__main__':
if __name__ == "__main__":
try:
check_python()
except Exception: