From e7546dee1fff0265116ae96668e049100f76b66c Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Mon, 5 Feb 2018 15:53:33 +0100 Subject: pep8 fixes --- gitlab/v4/objects.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'gitlab') diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index f6dcb08..c1e6441 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -1960,7 +1960,7 @@ class ProjectPipelineJobsManager(ListMixin, RESTManager): _path = '/projects/%(project_id)s/pipelines/%(pipeline_id)s/jobs' _obj_cls = ProjectPipelineJob _from_parent_attrs = {'project_id': 'project_id', - 'pipeline_id' : 'id'} + 'pipeline_id': 'id'} _list_filters = ('scope',) @@ -2024,7 +2024,8 @@ class ProjectPipelineManager(RetrieveMixin, CreateMixin, RESTManager): return CreateMixin.create(self, data, path=path, **kwargs) -class ProjectPipelineScheduleVariable(SaveMixin, ObjectDeleteMixin, RESTObject): +class ProjectPipelineScheduleVariable(SaveMixin, ObjectDeleteMixin, + RESTObject): _id_attr = 'key' @@ -2034,7 +2035,7 @@ class ProjectPipelineScheduleVariableManager(CreateMixin, UpdateMixin, '%(pipeline_schedule_id)s/variables') _obj_cls = ProjectPipelineScheduleVariable _from_parent_attrs = {'project_id': 'project_id', - 'pipeline_schedule_id' : 'id'} + 'pipeline_schedule_id': 'id'} _create_attrs = (('key', 'value'), tuple()) _update_attrs = (('key', 'value'), tuple()) @@ -2069,10 +2070,6 @@ class ProjectPipelineScheduleManager(CRUDMixin, RESTManager): ('description', 'ref', 'cron', 'cron_timezone', 'active')) -class ProjectSnippetNote(SaveMixin, ObjectDeleteMixin, RESTObject): - pass - - class ProjectPipelineJob(ProjectJob): pass -- cgit v1.2.1