diff options
author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2021-04-28 07:46:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 07:46:21 -0400 |
commit | 816cbe59a43c4ab5466e6d4c5fa393223c26953f (patch) | |
tree | d3581be917f71de33e742a4fbf1131825d3e4a53 | |
parent | 0da422394be3555d5b3cb52761864d2819787eff (diff) | |
download | pyjwt-816cbe59a43c4ab5466e6d4c5fa393223c26953f.tar.gz |
[pre-commit.ci] pre-commit autoupdate (#650)
* [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 <jpadilla@webapplicate.com>
-rw-r--r-- | .pre-commit-config.yaml | 4 | ||||
-rw-r--r-- | tests/test_api_jws.py | 2 | ||||
-rw-r--r-- | 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 f10517e..367ca30 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 cbebb1f..b731edc 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 05cb714..56de90c 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"} |