diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2018-02-05 15:53:33 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2018-02-05 15:53:33 +0100 |
commit | e7546dee1fff0265116ae96668e049100f76b66c (patch) | |
tree | 6d467834460e6da66bacfec7c430a05b01e5ccf1 /gitlab/v4/objects.py | |
parent | 0a06779f563be22d5a654eaf1423494e31c6a35d (diff) | |
download | gitlab-e7546dee1fff0265116ae96668e049100f76b66c.tar.gz |
pep8 fixes
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r-- | gitlab/v4/objects.py | 11 |
1 files changed, 4 insertions, 7 deletions
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 |