| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
As the project is Python 3 only, can remove the compatibility shims in
compat.py.
Type checking has been simplified where it can:
- str is iterable
- bytes is iterable
- use isinstance instead of issubclass
The remaining function bytes_from_int() has been moved to utils.py.
|
| |
|
|
|
|
|
|
|
|
| |
* Setup pre-commit hooks
* Run initial `tox -e lint`
* Fix package name
* Fix .travis.yml
|
| |
|
|
|
|
|
| |
- JWKs for RSA and HMAC can be encoded / decoded using the .to_jwk() and
.from_jwk() methods on their respective jwt.algorithms instances
- Replaced tests.utils ensure_unicode and ensure_bytes with jwt.utils versions
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|
|
- Added a ton of tests to cover areas that weren't covered before
- Added a pep8 tox env to run pep8 tests as part of the build
- Moved keys into tests/keys
- Added test_algorithms.py for algorithms module tests
- Changed setup.py to run all tests in tests/
|