Skip to content

Commit e7546de

Browse files
author
Gauvain Pocentek
committed
pep8 fixes
1 parent 0a06779 commit e7546de

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

gitlab/v4/objects.py

+4-7
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,7 @@ class ProjectPipelineJobsManager(ListMixin, RESTManager):
19601960
_path = '/projects/%(project_id)s/pipelines/%(pipeline_id)s/jobs'
19611961
_obj_cls = ProjectPipelineJob
19621962
_from_parent_attrs = {'project_id': 'project_id',
1963-
'pipeline_id' : 'id'}
1963+
'pipeline_id': 'id'}
19641964
_list_filters = ('scope',)
19651965

19661966

@@ -2024,7 +2024,8 @@ def create(self, data, **kwargs):
20242024
return CreateMixin.create(self, data, path=path, **kwargs)
20252025

20262026

2027-
class ProjectPipelineScheduleVariable(SaveMixin, ObjectDeleteMixin, RESTObject):
2027+
class ProjectPipelineScheduleVariable(SaveMixin, ObjectDeleteMixin,
2028+
RESTObject):
20282029
_id_attr = 'key'
20292030

20302031

@@ -2034,7 +2035,7 @@ class ProjectPipelineScheduleVariableManager(CreateMixin, UpdateMixin,
20342035
'%(pipeline_schedule_id)s/variables')
20352036
_obj_cls = ProjectPipelineScheduleVariable
20362037
_from_parent_attrs = {'project_id': 'project_id',
2037-
'pipeline_schedule_id' : 'id'}
2038+
'pipeline_schedule_id': 'id'}
20382039
_create_attrs = (('key', 'value'), tuple())
20392040
_update_attrs = (('key', 'value'), tuple())
20402041

@@ -2069,10 +2070,6 @@ class ProjectPipelineScheduleManager(CRUDMixin, RESTManager):
20692070
('description', 'ref', 'cron', 'cron_timezone', 'active'))
20702071

20712072

2072-
class ProjectSnippetNote(SaveMixin, ObjectDeleteMixin, RESTObject):
2073-
pass
2074-
2075-
20762073
class ProjectPipelineJob(ProjectJob):
20772074
pass
20782075

0 commit comments

Comments
 (0)