Ran
|
Files
13
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci-com
<a href="https://github.com/jpadilla/pyjwt/commit/<a class=hub.com/jpadilla/pyjwt/commit/1b979a42dcd57588fa1d7c169b6627f1f0cd3e1b">1b979a42d<a href="https://github.com/jpadilla/pyjwt/commit/1b979a42dcd57588fa1d7c169b6627f1f0cd3e1b">">Correct type for json_encoder argument (#438) Per recent upstream fix to typeshed, json.dumps() cls argument should be optional type JSONEncoder. https://github.com/python/typeshed/commit/</a><a class="double-link" href="https://github.com/jpadilla/pyjwt/commit/<a class="double-link" href="https://github.com/jpadilla/pyjwt/commit/8e0d288ea49a34f9bd21b1598ec487414a339a1f">8e0d288ea</a>">8e0d288ea</a><a href="https://github.com/jpadilla/pyjwt/commit/1b979a42dcd57588fa1d7c169b6627f1f0cd3e1b"> Fixes mypy error: jwt/api_jws.py:102: error: Argument "cls" to "dumps" has incompatible type "Optional[Callable[..., Any]]"; expected "Optional[Type[JSONEncoder]]" jwt/api_jwt.py:61: error: Argument "cls" to "dumps" has incompatible type "Optional[Callable[..., Any]]"; expected "Optional[Type[JSONEncoder]]"
489 of 719 relevant lines covered (68.01%)
0.68 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|