diff --git a/examples/callable_provider.py b/examples/callable_provider.py index 3e037c81..efc9f58c 100644 --- a/examples/callable_provider.py +++ b/examples/callable_provider.py @@ -3,8 +3,15 @@ Callable provider examples. """ from objects import AbstractCatalog -from objects.providers import Singleton, Callable -from objects.injections import Injection, InitArg, Attribute +from objects.providers import ( + Singleton, + Callable, +) +from objects.injections import ( + Injection, + InitArg, + Attribute, +) import sqlite3 diff --git a/examples/concept.py b/examples/concept.py index f44eb8fe..db12e2b7 100644 --- a/examples/concept.py +++ b/examples/concept.py @@ -3,8 +3,14 @@ Concept example of objects catalogs. """ from objects import AbstractCatalog -from objects.providers import Singleton, NewInstance -from objects.injections import InitArg, Attribute +from objects.providers import ( + Singleton, + NewInstance, +) +from objects.injections import ( + InitArg, + Attribute, +) import sqlite3 diff --git a/examples/config_provider.py b/examples/config_provider.py index 599293b6..21cb3c2c 100644 --- a/examples/config_provider.py +++ b/examples/config_provider.py @@ -3,7 +3,10 @@ Config provider examples. """ from objects import AbstractCatalog -from objects.providers import Config, NewInstance +from objects.providers import ( + Config, + NewInstance, +) from objects.injections import InitArg diff --git a/examples/delegate.py b/examples/delegate.py index 426952a6..af299c80 100644 --- a/examples/delegate.py +++ b/examples/delegate.py @@ -3,10 +3,14 @@ Example of providers delegate. """ from objects import AbstractCatalog -from objects.providers import Singleton -from objects.providers import NewInstance -from objects.injections import InitArg -from objects.injections import Attribute +from objects.providers import ( + Singleton, + NewInstance, +) +from objects.injections import ( + InitArg, + Attribute, +) import sqlite3 diff --git a/examples/external_dependency.py b/examples/external_dependency.py index b5ae4cc4..df8875b3 100644 --- a/examples/external_dependency.py +++ b/examples/external_dependency.py @@ -3,8 +3,11 @@ Concept example of objects catalogs. """ from objects import AbstractCatalog -from objects.providers import Singleton, NewInstance, ExternalDependency -from objects.injections import InitArg, Attribute +from objects.providers import Singleton +from objects.providers import NewInstance +from objects.providers import ExternalDependency +from objects.injections import InitArg +from objects.injections import Attribute import sqlite3 diff --git a/examples/overrides.py b/examples/overrides.py index 4b4dc4db..d5de879c 100644 --- a/examples/overrides.py +++ b/examples/overrides.py @@ -3,9 +3,18 @@ Concept example of objects overrides. """ -from objects import AbstractCatalog, overrides -from objects.providers import Singleton, NewInstance -from objects.injections import InitArg, Attribute +from objects import ( + AbstractCatalog, + overrides, +) +from objects.providers import ( + Singleton, + NewInstance, +) +from objects.injections import ( + InitArg, + Attribute, +) import sqlite3 diff --git a/examples/scoped_provider.py b/examples/scoped_provider.py index f5759281..a85aab84 100644 --- a/examples/scoped_provider.py +++ b/examples/scoped_provider.py @@ -3,8 +3,14 @@ Scoped provider examples. """ from objects import AbstractCatalog -from objects.providers import Singleton, Scoped -from objects.injections import InitArg, Attribute +from objects.providers import ( + Singleton, + Scoped, +) +from objects.injections import ( + InitArg, + Attribute, +) import sqlite3 diff --git a/objects/providers.py b/objects/providers.py index 8b1370f5..1672e403 100644 --- a/objects/providers.py +++ b/objects/providers.py @@ -3,7 +3,12 @@ Standard providers. """ from collections import Iterable -from .injections import Injection, InitArg, Attribute, Method +from .injections import ( + Injection, + InitArg, + Attribute, + Method, +) class Provider(object):