NovemberOscar/Sanic-JWT-Extended

View on GitHub
fix: replace jti with uuid4 #106
Seonu Jang authored 0eb9282a
complete00:02:05
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.json.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-structure:b1673
b1673: Pulling from codeclimate/codeclimate-structure
bff3e048017e: Already exists
339148ecceb7: Already exists
75031b9f2662: Already exists
23e4bece904f: Pulling fs layer
580694eb2ab1: Pulling fs layer
4220ab45da32: Pulling fs layer
3fec094de8af: Pulling fs layer
57311f690d79: Pulling fs layer
30eef54b06d3: Pulling fs layer
533e89ddc74f: Pulling fs layer
b1fbd916a7fd: Pulling fs layer
c04c8e3d3f1e: Pulling fs layer
6270755c49c6: Pulling fs layer
c152db51e160: Pulling fs layer
0ff11adca159: Pulling fs layer
b04ea1c225fc: Pulling fs layer
3fec094de8af: Waiting
a5900fead2e7: Pulling fs layer
05e1fa67ae7b: Pulling fs layer
23e4bece904f: Download complete
55efbe71dad7: Pulling fs layer
fae57dc97efc: Pulling fs layer
c04c8e3d3f1e: Waiting
c9bb173ce1a5: Pulling fs layer
57311f690d79: Waiting
ad7655ca63f7: Pulling fs layer
30eef54b06d3: Waiting
c302f0c4c32a: Pulling fs layer
533e89ddc74f: Waiting
2313612dd8ff: Pulling fs layer
b1fbd916a7fd: Waiting
e256e1e3d8f9: Pulling fs layer
05e1fa67ae7b: Waiting
4d0473eb5f61: Pulling fs layer
6270755c49c6: Waiting
c152db51e160: Waiting
24f7364b1ed7: Pulling fs layer
e2f78d056f14: Pulling fs layer
0ff11adca159: Waiting
b04ea1c225fc: Waiting
ba793bb5beb0: Pulling fs layer
a5900fead2e7: Waiting
9c6fe351d4a0: Pulling fs layer
c302f0c4c32a: Waiting
564e99fe143b: Pulling fs layer
d4d28bcef407: Pulling fs layer
377ba0623335: Pulling fs layer
da34fb180d01: Pulling fs layer
55efbe71dad7: Waiting
e662a1397458: Pulling fs layer
fae57dc97efc: Waiting
83257097193a: Pulling fs layer
c9bb173ce1a5: Waiting
ad7655ca63f7: Waiting
60ea3c49c796: Pulling fs layer
ba793bb5beb0: Waiting
b3bd38aab0f6: Pulling fs layer
2313612dd8ff: Waiting
4de22538118e: Pulling fs layer
e256e1e3d8f9: Waiting
25cf34d42617: Pulling fs layer
4d0473eb5f61: Waiting
24f7364b1ed7: Waiting
912ae8410047: Pulling fs layer
e2f78d056f14: Waiting
e662a1397458: Waiting
9b6209b21f89: Pulling fs layer
9c6fe351d4a0: Waiting
1edfdbef3d97: Pulling fs layer
564e99fe143b: Waiting
88d893e5be7c: Pulling fs layer
d4d28bcef407: Waiting
126b08a94339: Pulling fs layer
377ba0623335: Waiting
8f4517454b55: Pulling fs layer
da34fb180d01: Waiting
75d3b10e39b6: Pulling fs layer
f4ee7bf85263: Pulling fs layer
e91df39e5278: Pulling fs layer
6a82a42dca5c: Pulling fs layer
4429e2badffb: Pulling fs layer
97bbdb242e6f: Pulling fs layer
97bbdb242e6f: Waiting
1edfdbef3d97: Waiting
88d893e5be7c: Waiting
83257097193a: Waiting
126b08a94339: Waiting
60ea3c49c796: Waiting
8f4517454b55: Waiting
b3bd38aab0f6: Waiting
75d3b10e39b6: Waiting
4de22538118e: Waiting
f4ee7bf85263: Waiting
25cf34d42617: Waiting
e91df39e5278: Waiting
912ae8410047: Waiting
6a82a42dca5c: Waiting
9b6209b21f89: Waiting
4429e2badffb: Waiting
3fec094de8af: Verifying Checksum
3fec094de8af: Download complete
57311f690d79: Verifying Checksum
57311f690d79: Download complete
580694eb2ab1: Verifying Checksum
580694eb2ab1: Download complete
30eef54b06d3: Download complete
533e89ddc74f: Verifying Checksum
533e89ddc74f: Download complete
c04c8e3d3f1e: Verifying Checksum
c04c8e3d3f1e: Download complete
6270755c49c6: Verifying Checksum
6270755c49c6: Download complete
c152db51e160: Verifying Checksum
c152db51e160: Download complete
0ff11adca159: Verifying Checksum
0ff11adca159: Download complete
b04ea1c225fc: Download complete
a5900fead2e7: Verifying Checksum
a5900fead2e7: Download complete
05e1fa67ae7b: Verifying Checksum
05e1fa67ae7b: Download complete
55efbe71dad7: Verifying Checksum
55efbe71dad7: Download complete
fae57dc97efc: Verifying Checksum
fae57dc97efc: Download complete
c9bb173ce1a5: Verifying Checksum
c9bb173ce1a5: Download complete
ad7655ca63f7: Verifying Checksum
ad7655ca63f7: Download complete
c302f0c4c32a: Download complete
23e4bece904f: Pull complete
2313612dd8ff: Verifying Checksum
2313612dd8ff: Download complete
e256e1e3d8f9: Download complete
4d0473eb5f61: Download complete
b1fbd916a7fd: Verifying Checksum
b1fbd916a7fd: Download complete
24f7364b1ed7: Verifying Checksum
24f7364b1ed7: Download complete
ba793bb5beb0: Download complete
e2f78d056f14: Verifying Checksum
e2f78d056f14: Download complete
564e99fe143b: Download complete
d4d28bcef407: Verifying Checksum
d4d28bcef407: Download complete
377ba0623335: Download complete
da34fb180d01: Download complete
e662a1397458: Verifying Checksum
e662a1397458: Download complete
9c6fe351d4a0: Verifying Checksum
9c6fe351d4a0: Download complete
60ea3c49c796: Download complete
b3bd38aab0f6: Download complete
83257097193a: Verifying Checksum
83257097193a: Download complete
4de22538118e: Verifying Checksum
4de22538118e: Download complete
25cf34d42617: Verifying Checksum
25cf34d42617: Download complete
912ae8410047: Verifying Checksum
912ae8410047: Download complete
580694eb2ab1: Pull complete
9b6209b21f89: Download complete
1edfdbef3d97: Download complete
88d893e5be7c: Verifying Checksum
88d893e5be7c: Download complete
8f4517454b55: Verifying Checksum
8f4517454b55: Download complete
126b08a94339: Verifying Checksum
126b08a94339: Download complete
f4ee7bf85263: Verifying Checksum
f4ee7bf85263: Download complete
75d3b10e39b6: Download complete
e91df39e5278: Verifying Checksum
e91df39e5278: Download complete
6a82a42dca5c: Verifying Checksum
6a82a42dca5c: Download complete
97bbdb242e6f: Download complete
4429e2badffb: Verifying Checksum
4429e2badffb: Download complete
4220ab45da32: Verifying Checksum
4220ab45da32: Download complete
4220ab45da32: Pull complete
3fec094de8af: Pull complete
57311f690d79: Pull complete
30eef54b06d3: Pull complete
533e89ddc74f: Pull complete
b1fbd916a7fd: Pull complete
c04c8e3d3f1e: Pull complete
6270755c49c6: Pull complete
c152db51e160: Pull complete
0ff11adca159: Pull complete
b04ea1c225fc: Pull complete
a5900fead2e7: Pull complete
05e1fa67ae7b: Pull complete
55efbe71dad7: Pull complete
fae57dc97efc: Pull complete
c9bb173ce1a5: Pull complete
ad7655ca63f7: Pull complete
c302f0c4c32a: Pull complete
2313612dd8ff: Pull complete
e256e1e3d8f9: Pull complete
4d0473eb5f61: Pull complete
24f7364b1ed7: Pull complete
e2f78d056f14: Pull complete
ba793bb5beb0: Pull complete
9c6fe351d4a0: Pull complete
564e99fe143b: Pull complete
d4d28bcef407: Pull complete
377ba0623335: Pull complete
da34fb180d01: Pull complete
e662a1397458: Pull complete
83257097193a: Pull complete
60ea3c49c796: Pull complete
b3bd38aab0f6: Pull complete
4de22538118e: Pull complete
25cf34d42617: Pull complete
912ae8410047: Pull complete
9b6209b21f89: Pull complete
1edfdbef3d97: Pull complete
88d893e5be7c: Pull complete
126b08a94339: Pull complete
8f4517454b55: Pull complete
75d3b10e39b6: Pull complete
f4ee7bf85263: Pull complete
e91df39e5278: Pull complete
6a82a42dca5c: Pull complete
4429e2badffb: Pull complete
97bbdb242e6f: Pull complete
Digest: sha256:7880f01608ed54b763671e045bd8a2e774b3ad2d41f674f0a7e2af2a1195fca5
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-structure:b1673
docker pull codeclimate/codeclimate-duplication:b1329
b1329: Pulling from codeclimate/codeclimate-duplication
bff3e048017e: Already exists
339148ecceb7: Already exists
75031b9f2662: Already exists
23e4bece904f: Already exists
580694eb2ab1: Already exists
4220ab45da32: Already exists
3fec094de8af: Already exists
57311f690d79: Already exists
30eef54b06d3: Already exists
533e89ddc74f: Already exists
b1fbd916a7fd: Already exists
c04c8e3d3f1e: Already exists
6270755c49c6: Already exists
c152db51e160: Already exists
0ff11adca159: Already exists
b04ea1c225fc: Already exists
a5900fead2e7: Already exists
05e1fa67ae7b: Already exists
55efbe71dad7: Already exists
fae57dc97efc: Already exists
c9bb173ce1a5: Already exists
ad7655ca63f7: Already exists
c302f0c4c32a: Already exists
2313612dd8ff: Already exists
e256e1e3d8f9: Already exists
4d0473eb5f61: Already exists
24f7364b1ed7: Already exists
e2f78d056f14: Already exists
ba793bb5beb0: Already exists
9c6fe351d4a0: Already exists
564e99fe143b: Already exists
d4d28bcef407: Already exists
377ba0623335: Already exists
da34fb180d01: Already exists
e662a1397458: Already exists
83257097193a: Already exists
60ea3c49c796: Already exists
b3bd38aab0f6: Already exists
4de22538118e: Already exists
25cf34d42617: Already exists
912ae8410047: Already exists
9b6209b21f89: Already exists
1edfdbef3d97: Already exists
88d893e5be7c: Already exists
126b08a94339: Already exists
8f4517454b55: Already exists
75d3b10e39b6: Already exists
f4ee7bf85263: Already exists
5bdda228a9bd: Pulling fs layer
537f66dfc79a: Pulling fs layer
7621b06003bb: Pulling fs layer
e291ef4014ba: Pulling fs layer
bd60c2073336: Pulling fs layer
64534cad8c58: Pulling fs layer
b90a9e1afea5: Pulling fs layer
e291ef4014ba: Waiting
bd60c2073336: Waiting
64534cad8c58: Waiting
b90a9e1afea5: Waiting
537f66dfc79a: Download complete
5bdda228a9bd: Download complete
7621b06003bb: Verifying Checksum
7621b06003bb: Download complete
5bdda228a9bd: Pull complete
64534cad8c58: Download complete
e291ef4014ba: Verifying Checksum
e291ef4014ba: Download complete
537f66dfc79a: Pull complete
7621b06003bb: Pull complete
e291ef4014ba: Pull complete
b90a9e1afea5: Verifying Checksum
b90a9e1afea5: Download complete
bd60c2073336: Verifying Checksum
bd60c2073336: Download complete
bd60c2073336: Pull complete
64534cad8c58: Pull complete
b90a9e1afea5: Pull complete
Digest: sha256:08c94e28c0e5d2d83c4d56b338edbdb742d269db6facd9d6477b953dd95c4a14
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-duplication:b1329
docker pull codeclimate/codeclimate-bandit:b866
b866: Pulling from codeclimate/codeclimate-bandit
a0e0ef996968: Pulling fs layer
00c69949e211: Pulling fs layer
124b11ffd9dc: Pulling fs layer
74d262bd6915: Pulling fs layer
963a4e0e1415: Pulling fs layer
ea041886215a: Pulling fs layer
3bbf7ff90c63: Pulling fs layer
963a4e0e1415: Waiting
74d262bd6915: Waiting
3bbf7ff90c63: Waiting
00c69949e211: Verifying Checksum
00c69949e211: Download complete
124b11ffd9dc: Verifying Checksum
124b11ffd9dc: Download complete
a0e0ef996968: Verifying Checksum
a0e0ef996968: Download complete
963a4e0e1415: Verifying Checksum
963a4e0e1415: Download complete
a0e0ef996968: Pull complete
ea041886215a: Verifying Checksum
ea041886215a: Download complete
00c69949e211: Pull complete
3bbf7ff90c63: Verifying Checksum
3bbf7ff90c63: Download complete
124b11ffd9dc: Pull complete
74d262bd6915: Verifying Checksum
74d262bd6915: Download complete
74d262bd6915: Pull complete
963a4e0e1415: Pull complete
ea041886215a: Pull complete
3bbf7ff90c63: Pull complete
Digest: sha256:b831294279e697e4402c0bd94153247577b1e1297055bac81a8e2922b4dedba5
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-bandit:b866
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
0de813e89c33: Waiting
a9696c7f4cd8: Waiting
51b9219e6e44: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
4f8d95c214b1: Verifying Checksum
4f8d95c214b1: Download complete
ab6db1bc80d0: Download complete
a9696c7f4cd8: Download complete
ab6db1bc80d0: Pull complete
51b9219e6e44: Download complete
bf17e9a1c113: Pull complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
4f8d95c214b1: Pull complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
docker pull codeclimate/codeclimate-radon:b695
b695: Pulling from codeclimate/codeclimate-radon
e00d546a75ad: Pulling fs layer
21f0a0866768: Pulling fs layer
cd9d3946aa16: Pulling fs layer
2e56add6654f: Pulling fs layer
6c87f215a2be: Pulling fs layer
c2b31566ca3d: Pulling fs layer
2e56add6654f: Waiting
6c87f215a2be: Waiting
c2b31566ca3d: Waiting
21f0a0866768: Verifying Checksum
21f0a0866768: Download complete
e00d546a75ad: Download complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
e00d546a75ad: Pull complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
21f0a0866768: Pull complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download complete
cd9d3946aa16: Pull complete
2e56add6654f: Pull complete
6c87f215a2be: Pull complete
c2b31566ca3d: Pull complete
Digest: sha256:dfeb7edc634b4e2f851f3c788f7c21bd8bae097d4c66af722c76a6ba51121f98
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-radon:b695
docker pull codeclimate/codeclimate-sonar-python:b10
b10: Pulling from codeclimate/codeclimate-sonar-python
709515475419: Pulling fs layer
d1c225ed7c34: Pulling fs layer
887f300163b6: Pulling fs layer
a3ed95caeb02: Pulling fs layer
9b412187b352: Pulling fs layer
8fe915fa1948: Pulling fs layer
65145a386a45: Pulling fs layer
a64dfb9c0f27: Pulling fs layer
59a464ab5a51: Pulling fs layer
47413513c002: Pulling fs layer
9f30da6d3676: Pulling fs layer
8fe915fa1948: Waiting
65145a386a45: Waiting
a64dfb9c0f27: Waiting
59a464ab5a51: Waiting
47413513c002: Waiting
9f30da6d3676: Waiting
a3ed95caeb02: Waiting
9b412187b352: Waiting
d1c225ed7c34: Verifying Checksum
d1c225ed7c34: Download complete
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
9b412187b352: Verifying Checksum
9b412187b352: Download complete
709515475419: Pull complete
d1c225ed7c34: Pull complete
65145a386a45: Verifying Checksum
65145a386a45: Download complete
887f300163b6: Verifying Checksum
887f300163b6: Download complete
59a464ab5a51: Download complete
8fe915fa1948: Verifying Checksum
8fe915fa1948: Download complete
47413513c002: Verifying Checksum
47413513c002: Download complete
a64dfb9c0f27: Verifying Checksum
a64dfb9c0f27: Download complete
9f30da6d3676: Verifying Checksum
9f30da6d3676: Download complete
887f300163b6: Pull complete
a3ed95caeb02: Pull complete
9b412187b352: Pull complete
8fe915fa1948: Pull complete
65145a386a45: Pull complete
a64dfb9c0f27: Pull complete
59a464ab5a51: Pull complete
47413513c002: Pull complete
9f30da6d3676: Pull complete
Digest: sha256:7904831e83e5474cba8a95726a691787d74d669d74a8721f114057ebb4a8943d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-sonar-python:b10
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-05-14T06:35:22.960965 #1]  INFO -- : Skipping file ./sanic_jwt_extended/tokens.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    raw_jwt: str
           ^
SyntaxError: invalid syntax


I, [2024-05-14T06:35:22.967744 #1]  INFO -- : Skipping file ./sanic_jwt_extended/decorators.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 42
    def _get_request(args) -> Request:
                           ^
SyntaxError: invalid syntax


I, [2024-05-14T06:35:22.972484 #1]  INFO -- : Skipping file ./sanic_jwt_extended/redis.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 8
    redis: Optional[aioredis.Redis] = None
         ^
SyntaxError: invalid syntax


I, [2024-05-14T06:35:22.983839 #1]  INFO -- : Skipping file ./sanic_jwt_extended/config.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 11
    read_only: bool = False
             ^
SyntaxError: invalid syntax


I, [2024-05-14T06:35:23.010627 #1]  INFO -- : Skipping file ./sanic_jwt_extended/jwt_manager.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 131
    *,
     ^
SyntaxError: invalid syntax


I, [2024-05-14T06:35:23.029240 #1]  INFO -- : Skipping file ./sanic_jwt_extended/exceptions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 6
    ...
    ^
SyntaxError: invalid syntax


I, [2024-05-14T06:35:23.030762 #1]  INFO -- : Skipping file ./sanic_jwt_extended/blacklist.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    async def register(self, token):
        ^
SyntaxError: invalid syntax
7
bandit
bandit engine documentation
View output
[main]	INFO	profile include tests: None
[main]	INFO	profile exclude tests: None
[main]	INFO	cli include tests: None
[main]	INFO	cli exclude tests: None
8
pep8
pep8 engine documentation
View output
sanic_jwt_extended/ .github/ docs/
9
radon
radon engine documentation
View output
Running radon3...
10
sonar-python
sonar-python engine documentation
View output
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: Invalid character encountered in file '/code/docs/favicon.ico' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 47 files indexed
ERROR: Unable to parse file: /code/sanic_jwt_extended/tokens.py
ERROR: Parse error at line 17 column 11:

    9: .utils import base64url_decode
   10: 
   11: from sanic_jwt_extended.exceptions import ConfigurationConflictError, JWTDecodeError
   12: from sanic_jwt_extended.jwt_manager import JWT
   13: 
   14: 
   15: @dataclass
   16: class Token:
  -->      raw_jwt: str
   18:     raw_data: Dict[str, Any] = field(init=False)
   19: 
   20: 
   21:     type: str = field(init=False)
   22: 

ERROR: Unable to parse file: /code/sanic_jwt_extended/decorators.py
ERROR: Parse error at line 51 column 13:

   45:     else:
   46:         request = args[1]
   47:     return request
   48: 
   49: 
   50: def _get_raw_jwt_from_request(request, is_access=True):
  -->      functions: List[jwt_get_function] = []
   52: 
   53:     for eligible_location in JWT.config.token_location:
   54:         if eligible_location == "header":
   55:             functions.append

ERROR: Unable to parse file: /code/sanic_jwt_extended/redis.py
ERROR: Parse error at line 8 column 9:

    1: from typing import Any, Dict, Optional
    2: 
    3: import aioredis
    4: import ujson
    5: 
    6: 
    7: class RedisConnection:                    
  -->      redis: Optional[aioredis.Redis] = None
    9:     connection_info: Dict[str, Any]
   10: 
   11:     @classmethod
   12:     async def _get_redis_connection(cls):
   13: 

ERROR: Unable to parse file: /code/sanic_jwt_extended/config.py
ERROR: Parse error at line 11 column 13:

    4: typing import Any, Dict, Optional, Tuple, Type, Union
    5: 
    6: from sanic_jwt_extended.blacklist import BlacklistABC
    7: 
    8: 
    9: @dataclass
   10: class Config:
  -->      read_only: bool = False
   12: 
   13: 
   14:     secret_key: Optional[str] = None
   15: 
   16:     public_key: Optional[str] = None
   17:     private_key: Optional[str] =

ERROR: Unable to parse file: /code/sanic_jwt_extended/jwt_manager.py
ERROR: Parse error at line 138 column 4:

  130: fresh=None,
  131:         *,
  132:         expires_delta=None,
  133:         public_claims=None,
  134:         private_claims=None,
  135:         iss=None,
  136:         aud=None,
  137:         nbf=None,
  -->      ):
  139:         payload = {"iss": iss, "sub": identity, "aud": aud, "nbf": nbf}
  140: 
  141:         if role:
  142:             if

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 2.064s
INFO: Final Memory: 5M/234M
INFO: ------------------------------------------------------------------------