Cleanup: use autopep8 on release/lts
This commit is contained in:
@@ -18,6 +18,7 @@ class Version:
|
|||||||
Version class that extracts the major, minor and build from
|
Version class that extracts the major, minor and build from
|
||||||
a version string
|
a version string
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, version: str):
|
def __init__(self, version: str):
|
||||||
self.version = version
|
self.version = version
|
||||||
v = version.split(".")
|
v = version.split(".")
|
||||||
@@ -28,6 +29,7 @@ class Version:
|
|||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
return self.version
|
return self.version
|
||||||
|
|
||||||
|
|
||||||
def get_download_file_names(version: Version):
|
def get_download_file_names(version: Version):
|
||||||
yield f"blender-{version}-linux-x64.tar.xz"
|
yield f"blender-{version}-linux-x64.tar.xz"
|
||||||
yield f"blender-{version}-macos-x64.dmg"
|
yield f"blender-{version}-macos-x64.dmg"
|
||||||
|
@@ -30,6 +30,7 @@ class ReleaseLogLine:
|
|||||||
backend.
|
backend.
|
||||||
* url: (str) url of the ticket task or commit.
|
* url: (str) url of the ticket task or commit.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, line: str):
|
def __init__(self, line: str):
|
||||||
self.line = line
|
self.line = line
|
||||||
items = line.split("|")
|
items = line.split("|")
|
||||||
|
Reference in New Issue
Block a user