Skip to content

Commit

Permalink
🎨 Format Python code with Black, and Bash code with Shfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin authored and github-actions[bot] committed Feb 27, 2025
1 parent 595a028 commit 73637b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ class YunohostError(MoulinetteError):
are translated via m18n.n (namespace) instead of m18n.g (global?)
"""

def __init__(self, key, raw_msg=False, log_ref=None, error_details=None, *args, **kwargs):
def __init__(
self, key, raw_msg=False, log_ref=None, error_details=None, *args, **kwargs
):
self.key = key # Saving the key is useful for unit testing
self.kwargs = kwargs # Saving the key is useful for unit testing
self.log_ref = log_ref
Expand Down

0 comments on commit 73637b7

Please sign in to comment.