Skip to content

Commit

Permalink
updated docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfried (Mac) committed Dec 19, 2023
1 parent eaf6c62 commit d798914
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions coloredMessages.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
General functions to format io output using ANSII sequences using colorama.
"""
Expand All @@ -10,7 +10,7 @@

def errorMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Colorise text in red and emphasise it for error messages.
Expand All @@ -24,7 +24,7 @@ def errorMessage(text):

def okMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Dim green text for validation messages.
Expand All @@ -38,7 +38,7 @@ def okMessage(text):

def brightMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Emphasize a text by brightening it.
Expand All @@ -52,7 +52,7 @@ def brightMessage(text):

def dimMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Dim a text.
Expand All @@ -66,7 +66,7 @@ def dimMessage(text):

def warningMessage(text):
'''
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Same as error message but using yellow instead of red.
Expand Down

0 comments on commit d798914

Please sign in to comment.