diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d60c28e..60b9f3c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,9 +71,3 @@ jobs: files: ./coverage.xml flags: unittests name: GitHub - - - name: SonarCloud Scan - uses: sonarsource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/README.rst b/README.rst index 75cf4be..dce815b 100644 --- a/README.rst +++ b/README.rst @@ -30,6 +30,7 @@ A quick and simple JWT encoding and decoding would look something like this: >>> from joserfc import jwt >>> from joserfc.jwk import OctKey + >>> key = OctKey.import_key("secret") >>> encoded = jwt.encode({"alg": "HS256"}, {"k": "value"}, key) >>> encoded 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrIjoidmFsdWUifQ.ni-MJXnZHpFB_8L9P9yllj3RNDfzmD4yBKAyefSctMY' @@ -45,7 +46,7 @@ Useful Links ------------ 1. GitHub: https://github.com/authlib/joserfc -2. Docs: https://jose.authlib.org/ +2. Docs: https://jose.authlib.org/en/ License ------- diff --git a/tests/test_util.py b/tests/test_util.py index 2272536..4ad7f69 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -1,6 +1,7 @@ +import binascii from unittest import TestCase from joserfc import util -import binascii + class TestUtil(TestCase): def test_to_bytes(self):