mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-06 19:20:07 +01:00
migrate code style to Black
This commit is contained in:
@@ -19,7 +19,7 @@ def __find_version(*file_paths):
|
||||
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
|
||||
if version_match:
|
||||
return version_match.group(1)
|
||||
raise RuntimeError('Unable to find version string.')
|
||||
raise RuntimeError("Unable to find version string.")
|
||||
|
||||
|
||||
def get_version():
|
||||
@@ -28,4 +28,4 @@ def get_version():
|
||||
|
||||
:returns: str -- the version string.
|
||||
"""
|
||||
return __find_version('../osaca/__init__.py')
|
||||
return __find_version("../osaca/__init__.py")
|
||||
|
||||
Reference in New Issue
Block a user