Skip to content
Snippets Groups Projects
Commit d1250e58 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

PEP fixes

parent a89f9760
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -9,4 +9,4 @@ check:
stage: check
script:
- pip install flake8
- flake8 gitlab.py
- flake8 gitlab.py --max-line-length 120
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):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment