From 816cbe59a43c4ab5466e6d4c5fa393223c26953f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 07:46:21 -0400 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#650) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 20.8b1 → 21.4b0](https://github.com/psf/black/compare/20.8b1...21.4b0) - [github.com/PyCQA/flake8: 3.9.0 → 3.9.1](https://github.com/PyCQA/flake8/compare/3.9.0...3.9.1) * Update after pre-commit run Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: José Padilla --- .pre-commit-config.yaml | 4 ++-- tests/test_api_jws.py | 2 +- tests/test_api_jwt.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f10517e7..367ca30c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 21.4b0 hooks: - id: black args: ["--target-version=py36"] @@ -12,7 +12,7 @@ repos: args: ["--target-version=py36"] - repo: https://github.com/PyCQA/flake8 - rev: 3.9.0 + rev: 3.9.1 hooks: - id: flake8 language_version: python3.8 diff --git a/tests/test_api_jws.py b/tests/test_api_jws.py index cbebb1f2..b731edce 100644 --- a/tests/test_api_jws.py +++ b/tests/test_api_jws.py @@ -32,7 +32,7 @@ def jws(): @pytest.fixture def payload(): - """ Creates a sample jws claimset for use as a payload during tests """ + """Creates a sample jws claimset for use as a payload during tests""" return b"hello world" diff --git a/tests/test_api_jwt.py b/tests/test_api_jwt.py index 05cb714d..56de90c9 100644 --- a/tests/test_api_jwt.py +++ b/tests/test_api_jwt.py @@ -27,7 +27,7 @@ def jwt(): @pytest.fixture def payload(): - """ Creates a sample JWT claimset for use as a payload during tests """ + """Creates a sample JWT claimset for use as a payload during tests""" return {"iss": "jeff", "exp": utc_timestamp() + 15, "claim": "insanity"}