From 351ca43f00e70510d2c212f712060f31067d68a7 Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Sun, 11 Apr 2021 14:47:09 +0000 Subject: [PATCH 1/3] ci(actions): simplify black installation show diff --- .github/workflows/main.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c6fd7967..90366e09 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -4,12 +4,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 - - name: Set up Python 3.7 + - uses: actions/checkout@v2 + - name: Set up Python 3.8 uses: actions/setup-python@v2 with: python-version: 3.8 - - name: Install Black - run: pip install black - - name: Run black --check . - run: black --check . + - uses: psf/black@stable From 5cb3eab3fa42c7086840edef88e1f64e79dae775 Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Sun, 11 Apr 2021 14:48:03 +0000 Subject: [PATCH 2/3] Update globalconfig.py --- common/globalconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/globalconfig.py b/common/globalconfig.py index addc3d4f..b33ae65c 100644 --- a/common/globalconfig.py +++ b/common/globalconfig.py @@ -44,7 +44,7 @@ def get_credentials(credentials_file, encrypted_pass=None): else: log.info("No credential file found, let's make one") log.info("NOTE: DO NOT SAVE YOUR CREDENTIALS IN CHROME, CLICK NEVER!") - credential = await_credential_input() + credential = await_credential_input() create_encrypted_config(credential, credentials_file) return credential["username"], credential["password"] From ec0d9860bf877c59a01ef1e213a98f5a2a40f9a0 Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Sun, 11 Apr 2021 14:50:16 +0000 Subject: [PATCH 3/3] Update globalconfig.py --- common/globalconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/globalconfig.py b/common/globalconfig.py index b33ae65c..addc3d4f 100644 --- a/common/globalconfig.py +++ b/common/globalconfig.py @@ -44,7 +44,7 @@ def get_credentials(credentials_file, encrypted_pass=None): else: log.info("No credential file found, let's make one") log.info("NOTE: DO NOT SAVE YOUR CREDENTIALS IN CHROME, CLICK NEVER!") - credential = await_credential_input() + credential = await_credential_input() create_encrypted_config(credential, credentials_file) return credential["username"], credential["password"]