Skip to content

Commit a730598

Browse files
authored
Merge pull request #769 from python-gitlab/pep-fixes
fix: pep8 errors
2 parents 16de1b0 + 334f9ef commit a730598

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gitlab/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def _set_auth_info(self):
359359
def enable_debug(self):
360360
import logging
361361
try:
362-
from http.client import HTTPConnection
362+
from http.client import HTTPConnection # noqa
363363
except ImportError:
364364
from httplib import HTTPConnection # noqa
365365

gitlab/v4/objects.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,8 @@ class ProjectReleaseManager(NoUpdateMixin, RESTManager):
20012001
_path = '/projects/%(project_id)s/releases'
20022002
_obj_cls = ProjectRelease
20032003
_from_parent_attrs = {'project_id': 'id'}
2004-
_create_attrs = (('name', 'tag_name', 'description', ), ('ref', 'assets', ))
2004+
_create_attrs = (('name', 'tag_name', 'description', ),
2005+
('ref', 'assets', ))
20052006

20062007

20072008
class ProjectTag(ObjectDeleteMixin, RESTObject):

0 commit comments

Comments
 (0)