From d1250e585484dbc434d0207aa02112bf3353308f Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce@bcowan.me.uk> Date: Tue, 10 Apr 2018 15:27:49 +0100 Subject: [PATCH] PEP fixes --- .gitlab-ci.yml | 2 +- gitlab.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dc3ccbd..b7b5acf 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 e5a5fbe..eb04852 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): """ -- GitLab