Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump black from 23.3.0 to 24.3.0 #3386

Merged
merged 2 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/stylish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: psf/black@stable
with:
version: "23.3.0"
version: "24.3.0"

- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1
Expand Down
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
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# the version of black is specified also in the stylish.yml github workflow;
# please update the version there in case it is bumped here
black==23.3.0
black==24.3.0
flake8
pytest
pytest-randomly
Expand Down
Loading