migrate code style to Black

This commit is contained in:
Julian Hammer
2021-03-11 12:02:45 +01:00
parent 1ebe5ecfbd
commit 6204c90934
33 changed files with 3045 additions and 2960 deletions

View File

@@ -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")