Skip to content

Commit

Permalink
chore: remove sonar cloud scan from github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Dec 3, 2024
1 parent 2b95926 commit 14aa433
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
-------
Expand Down
3 changes: 2 additions & 1 deletion tests/test_util.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import binascii
from unittest import TestCase
from joserfc import util
import binascii


class TestUtil(TestCase):
def test_to_bytes(self):
Expand Down

0 comments on commit 14aa433

Please sign in to comment.