Skip to content

Commit

Permalink
Format code with black==24.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ptoscano committed Mar 20, 2024
1 parent 4ad1403 commit 88aa4b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/rhsmlib/services/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ def register(
syspurposelib.write_syspurpose(syspurpose)

syspurpose_dict = {
"service_level_agreement": consumer["serviceLevel"]
if "serviceLevel" in list(consumer.keys())
else "",
"service_level_agreement": (
consumer["serviceLevel"] if "serviceLevel" in list(consumer.keys()) else ""
),
"role": consumer["role"] if "role" in list(consumer.keys()) else "",
"usage": consumer["usage"] if "usage" in list(consumer.keys()) else "",
"addons": consumer["addOns"] if "addOns" in list(consumer.keys()) else [],
Expand Down
1 change: 0 additions & 1 deletion src/subscription_manager/branding/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def __getattr__(self, x):


class DefaultBranding:

"""
Default branding. values are defined in init to help with i18n/l10n
ordering.
Expand Down
1 change: 0 additions & 1 deletion src/subscription_manager/repofile.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ def manage_repos_enabled() -> bool:


class TidyWriter:

"""
ini file reader that removes successive newlines,
and adds a trailing newline to the end of a file.
Expand Down

0 comments on commit 88aa4b1

Please sign in to comment.