diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dc3ccbd664698e0fff3f9b9c26c5fd0af27312f1..b7b5acf5671e32945b2205f21e1b8c89a06e15e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,4 +9,4 @@ check: stage: check script: - pip install flake8 - - flake8 gitlab.py + - flake8 gitlab.py --max-line-length 120 diff --git a/gitlab.py b/gitlab.py index e5a5fbe59721d6c87af7a3b596f58b94ee8ed945..eb0485281e85a05f425a766a2a6b6454629fb945 100644 --- a/gitlab.py +++ b/gitlab.py @@ -1,7 +1,8 @@ -from errbot import BotPlugin, botcmd, arg_botcmd, webhook +from errbot import BotPlugin, botcmd, arg_botcmd import gitlab + class Gitlab(BotPlugin): """ Commands for interacting with the gitlab API @@ -30,8 +31,7 @@ class Gitlab(BotPlugin): You should delete it if your plugin doesn't use any configuration like this """ return {'gitlab_url': "https://gitlab.com", - 'access_token': "someUserTokenHere" - } + 'access_token': "someUserTokenHere"} def check_configuration(self, configuration): """