From 11567eb6db25012cc615e632f7a5f2056cbe27b8 Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Fri, 22 Jul 2022 21:26:42 -0400 Subject: [PATCH] update with a real token lol --- .github/workflows/build_and_release.yml | 2 +- src/commands/beautify.py | 4 ++-- src/commands/uuid4.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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())