From f52892840646413bfe64917905add0c2226637cf Mon Sep 17 00:00:00 2001 From: Peter Mosmans Date: Fri, 10 Nov 2017 17:08:08 +1000 Subject: [PATCH] Adjust docstrings to 'official' Google format --- chatops/python/gitlab-to-pentext.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/chatops/python/gitlab-to-pentext.py b/chatops/python/gitlab-to-pentext.py index 1b8b6e1..dab9f00 100644 --- a/chatops/python/gitlab-to-pentext.py +++ b/chatops/python/gitlab-to-pentext.py @@ -1,8 +1,6 @@ #!/usr/bin/env python -""" -Gitlab bridge for PenText: imports and updates gitlab issues into PenText -(XML) format +"""Gitlab bridge for PenText: imports and updates gitlab issues into PenText. This script is part of the PenText framework https://pentext.org @@ -38,7 +36,7 @@ try: except (NameError, ImportError) as exception: print('[-] This script needs python-gitlab, pypandoc and validate_report library', file=sys.stderr) - print("validate_report is part of the pentext framework", file=sys.stderr) + print("validate_report is part of the PenText framework", file=sys.stderr) print("Install python-gitlab with: sudo pip install python-gitlab", file=sys.stderr) print("Install pypandoc with: sudo pip install pypandoc\n", file=sys.stderr) print("Currently missing: " + exception.message, file=sys.stderr) @@ -46,9 +44,7 @@ except (NameError, ImportError) as exception: class BaseItem(object): - """ - Base class for Pentext items - """ + """Base class for PenText items.""" DECLARATION = '\n'