From db0ae342b90f7ee314317bd2b78832f7782bee8f Mon Sep 17 00:00:00 2001 From: Subhash Bhushan Date: Mon, 19 Oct 2020 13:39:51 -0700 Subject: [PATCH] Tox check fixes --- src/protean/adapters/repository/__init__.py | 5 +++-- src/protean/cli.py | 1 + tests/repository/test_providers.py | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/protean/adapters/repository/__init__.py b/src/protean/adapters/repository/__init__.py index dcb03510..f8b45ce0 100644 --- a/src/protean/adapters/repository/__init__.py +++ b/src/protean/adapters/repository/__init__.py @@ -1,11 +1,12 @@ """ Package for Concrete Implementations of Protean repositories """ # Standard Library Imports -from collections import defaultdict import importlib import logging +from collections import defaultdict + # Protean -from protean.core.exceptions import ConfigurationError, IncorrectUsageError +from protean.core.exceptions import ConfigurationError from protean.core.repository import BaseRepository, repository_factory from protean.utils import DomainObjects, fully_qualified_name diff --git a/src/protean/cli.py b/src/protean/cli.py index 6150145d..13778159 100644 --- a/src/protean/cli.py +++ b/src/protean/cli.py @@ -52,6 +52,7 @@ def new(): @main.command() def livereload_docs(): """Run in shell as `protean livereload-docs`""" + # Protean from livereload import Server, shell server = Server() diff --git a/tests/repository/test_providers.py b/tests/repository/test_providers.py index 37444038..4e6851d5 100644 --- a/tests/repository/test_providers.py +++ b/tests/repository/test_providers.py @@ -1,8 +1,10 @@ +# Standard Library Imports from typing import List +# Protean from protean.core.aggregate import BaseAggregate +from protean.core.field.basic import Integer, String from protean.core.repository import BaseRepository -from protean.core.field.basic import String, Integer from protean.globals import current_domain from protean.utils import Database, fully_qualified_name