Skip to content

Commit

Permalink
Tox check fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
subhashb committed Aug 6, 2020
1 parent dc239ad commit 85a22b9
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 20 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Release History
===============

0.5.2 (2020-08-06)
------------------

* Introduce support for Postgresql Array and JSON columns
* Allow restricting `List` datatype to specific content types

0.5.1 (2020-07-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion src/protean/impl/repository/sqlalchemy_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from protean.core.exceptions import ConfigurationError, ObjectNotFoundError
from protean.core.field.association import Reference
from protean.core.field.basic import (
JSON,
Array,
Auto,
Boolean,
Expand All @@ -18,7 +19,6 @@
Dict,
Float,
Integer,
JSON,
List,
String,
Text,
Expand Down
8 changes: 5 additions & 3 deletions tests/impl/model/dict_model/test_list_datatype.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
import pytest

# Standard Library Imports
from datetime import datetime

# Protean
import pytest

from protean.core.aggregate import BaseAggregate
from protean.core.exceptions import ValidationError
from protean.core.field.basic import (
List,
Auto,
Boolean,
Date,
DateTime,
Float,
Identifier,
Integer,
List,
String,
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import pytest

# Standard Library Imports
from datetime import datetime

# Protean
import pytest

from protean.core.aggregate import BaseAggregate
from protean.core.exceptions import ValidationError
from protean.core.field.basic import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import pytest

# Standard Library Imports
from datetime import datetime

# Protean
import pytest

from protean.core.aggregate import BaseAggregate
from protean.core.field.basic import (
DateTime,
JSON,
String,
)
from protean.core.field.basic import JSON, DateTime, String


class Event(BaseAggregate):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import pytest

# Standard Library Imports
from datetime import datetime

# Protean
import pytest

from protean.core.aggregate import BaseAggregate
from protean.core.field.basic import (
DateTime,
JSON,
String,
)
from protean.core.field.basic import JSON, DateTime, String


class Event(BaseAggregate):
Expand Down

0 comments on commit 85a22b9

Please sign in to comment.