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"}