Skip to content

Commit

Permalink
chore: ran black and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
abyrne committed Nov 29, 2023
1 parent 614345f commit f0c95be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/dioptra/restapi/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,14 @@ def register_providers(modules: List[Callable[..., Any]]) -> None:
environment.
"""
from .experiment import register_providers as attach_experiment_providers
from .group import register_providers as attach_group_providers
from .group_membership import (
register_providers as attach_group_membership_providers,
)
from .job import register_providers as attach_job_providers
from .queue import register_providers as attach_job_queue_providers
from .task_plugin import register_providers as attach_task_plugin_providers
from .user import register_providers as attach_user_providers
from .group import register_routes as attach_group_providers
from .group_membership import register_routes as attach_group_membership_providers

# Append modules to list
attach_experiment_providers(modules)
Expand Down
2 changes: 1 addition & 1 deletion tests/cookiecutter_dioptra_deployment/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def context():
"image": "node",
"namespace": "",
"tag": "latest",
"registry": ""
"registry": "",
},
"redis": {
"image": "redis",
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/restapi/group/test_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@

from dioptra.restapi.group.model import Group
from dioptra.restapi.group.service import GroupService
from dioptra.restapi.group_membership.model import GroupMembership
from dioptra.restapi.group_membership.service import GroupMembershipService
from dioptra.restapi.queue.routes import BASE_ROUTE as QUEUE_BASE_ROUTE
from dioptra.restapi.user.model import User
from dioptra.restapi.group.model import Group
from dioptra.restapi.group_membership.model import GroupMembership


@pytest.fixture
Expand Down

0 comments on commit f0c95be

Please sign in to comment.