Skip to content

Commit

Permalink
Bump version to 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ahopkins committed May 2, 2020
1 parent 13afec1 commit dd39700
Show file tree
Hide file tree
Showing 23 changed files with 25 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
# The short X.Y version.
version = u"1.4"
# The full version, including alpha/beta/rc tags.
release = u"1.4.0"
release = u"1.4.1"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion sanic_jwt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.4.0"
__version__ = "1.4.1"
__author__ = "Adam Hopkins"
__credits__ = "Richard Kuesters"

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from sanic import Blueprint, Sanic
from sanic.response import json, text

import pytest
from sanic_jwt import Claim, exceptions, Initialize
from sanic_jwt.decorators import protected

Expand Down
2 changes: 1 addition & 1 deletion tests/test_async_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"""


import pytest
from sanic import Blueprint, Sanic
from sanic.response import text
from sanic.views import HTTPMethodView

import jwt
import pytest
from sanic_jwt import Authentication, initialize, protected

ALL_METHODS = ["GET", "OPTIONS"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_authentication.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from sanic import Sanic
from sanic.response import json

import pytest
from sanic_jwt import Authentication, exceptions, Initialize


Expand Down
2 changes: 1 addition & 1 deletion tests/test_authentication_custom.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
from sanic import Sanic

import pytest
from sanic_jwt import Authentication, Initialize


Expand Down
1 change: 1 addition & 0 deletions tests/test_cache.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest

from sanic_jwt import exceptions
from sanic_jwt.cache import is_cached

Expand Down
2 changes: 1 addition & 1 deletion tests/test_complete_authentication.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from datetime import datetime, timedelta

import pytest
from sanic import Sanic
from sanic.response import json

import jwt
import pytest
from freezegun import freeze_time
from sanic_jwt import Authentication, exceptions, Initialize, protected

Expand Down
2 changes: 1 addition & 1 deletion tests/test_configuration.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from sanic import Sanic
from sanic.response import json

import pytest
from sanic_jwt import Configuration, exceptions, initialize, Initialize
from sanic_jwt.configuration import ConfigItem

Expand Down
2 changes: 1 addition & 1 deletion tests/test_custom_claims.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from sanic import Sanic

import jwt
import pytest
from sanic_jwt import Claim, exceptions, Initialize


Expand Down
2 changes: 1 addition & 1 deletion tests/test_endpoints_async_methods.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import binascii
import os

import pytest
from sanic import Sanic
from sanic.response import json

import pytest
from sanic_jwt import exceptions, Initialize
from sanic_jwt.decorators import protected

Expand Down
3 changes: 2 additions & 1 deletion tests/test_endpoints_auth.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import jwt
import pytest

import jwt


@pytest.fixture
def access_token(app):
Expand Down
3 changes: 2 additions & 1 deletion tests/test_endpoints_basic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import jwt
import pytest

import jwt


def test_unprotected(app):
sanic_app, _ = app
Expand Down
2 changes: 1 addition & 1 deletion tests/test_endpoints_cookies.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import binascii
import os

import pytest
from sanic import Sanic
from sanic.response import json

import jwt
import pytest
from sanic_jwt import Initialize, protected


Expand Down
2 changes: 1 addition & 1 deletion tests/test_endpoints_dict_first.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
from sanic import Sanic

import pytest
from sanic_jwt import exceptions, Initialize


Expand Down
1 change: 1 addition & 0 deletions tests/test_endpoints_init_on_bp_retrieve_user.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest

from sanic_jwt import Initialize


Expand Down
2 changes: 1 addition & 1 deletion tests/test_endpoints_jwt_cryptography.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import os
from pathlib import Path

import pytest
from sanic import Sanic
from sanic.response import json

import pytest
from sanic_jwt import Configuration, exceptions, Initialize
from sanic_jwt.decorators import protected

Expand Down
2 changes: 1 addition & 1 deletion tests/test_endpoints_query_string.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import binascii
import os

import pytest
from sanic import Sanic
from sanic.response import json

import jwt
import pytest
from sanic_jwt import Initialize, protected


Expand Down
2 changes: 1 addition & 1 deletion tests/test_endpoints_scoped.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from sanic import Sanic
from sanic.response import json, text

import pytest
from sanic_jwt import exceptions, Initialize
from sanic_jwt.decorators import protected, scoped

Expand Down
2 changes: 1 addition & 1 deletion tests/test_endpoints_sync_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import uuid
from datetime import datetime, timedelta

import pytest
from sanic import Sanic
from sanic.response import json

import pytest
from freezegun import freeze_time
from sanic_jwt import exceptions, Initialize
from sanic_jwt.decorators import protected
Expand Down
2 changes: 1 addition & 1 deletion tests/test_initialize.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import pytest
from sanic import Blueprint, Sanic
from sanic.response import text
from sanic.views import HTTPMethodView

import pytest
from sanic_jwt import exceptions, Initialize, initialize


Expand Down
2 changes: 1 addition & 1 deletion tests/test_me_invalid.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from datetime import datetime, timedelta

import pytest
from sanic.response import json

import jwt
import pytest
from freezegun import freeze_time
from sanic_jwt.decorators import protected

Expand Down
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pathlib import Path

import pytest

from sanic_jwt import exceptions, utils


Expand Down

0 comments on commit dd39700

Please sign in to comment.