diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 9dca85f..9477590 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -28,4 +28,4 @@ jobs: body: "It's releasin' time" generateReleaseNotes: true commit: ${{ env.GITHUB_SHA }} - token: ${{ secrets.YOUR_GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.PAT }} diff --git a/src/commands/beautify.py b/src/commands/beautify.py index 1cf364c..36f7bb9 100644 --- a/src/commands/beautify.py +++ b/src/commands/beautify.py @@ -1,14 +1,14 @@ import string -def flip_char(char): +def flip_char(char: str): if char in string.ascii_lowercase: return string.ascii_uppercase[string.ascii_lowercase.find(char)] else: return string.ascii_lowercase[string.ascii_uppercase.find(char)] -def main(args: list): +def main(args: list[str]): message = " ".join(args) new_beautiful_string = [] diff --git a/src/commands/uuid4.py b/src/commands/uuid4.py index ac0a7ba..dfa99ef 100644 --- a/src/commands/uuid4.py +++ b/src/commands/uuid4.py @@ -2,5 +2,5 @@ import uuid -def main(*args): +def main(args: list[str]): print(uuid.uuid4())