Skip to content

Conversation

@sourcery-ai
Copy link

@sourcery-ai sourcery-ai bot commented Jun 25, 2022

Pull Request #69 refactored by Sourcery.

If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

NOTE: As code is pushed to the original Pull Request, Sourcery will
re-run and update (force-push) this Pull Request with new refactorings as
necessary. If Sourcery finds no refactorings at any point, this Pull Request
will be closed automatically.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Review changes via command line

To manually merge these changes, make sure you're on the app_store branch, then run:

git fetch origin sourcery/app_store
git merge --ff-only FETCH_HEAD
git reset HEAD^

Help us improve this pull request!

@sourcery-ai sourcery-ai bot requested a review from Archmonger June 25, 2022 07:56
@sourcery-ai sourcery-ai bot force-pushed the sourcery/app_store branch 8 times, most recently from 5018702 to 2af1a50 Compare July 3, 2022 09:18
@sourcery-ai sourcery-ai bot force-pushed the sourcery/app_store branch from 0c4585b to 88b09cb Compare July 3, 2022 09:19
Comment on lines 30 to -50

return bootstrap_modal(
{
"show": state._modal_state.show,
"centered": state._modal_state.centered,
"size": state._modal_state.size,
**state._modal_state.kwargs,
},
*(
[state._modal(websocket, state, set_state)]
if state._modal
else [
modal_head(websocket, state, set_state),
modal_body(websocket, state, set_state),
modal_footer(websocket, state, set_state),
]
),
key=f"{state._modal.__module__}.{state._modal.__name__}"
if state._modal
else str(uuid4()),
)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function modal refactored with the following changes:

@sourcery-ai sourcery-ai bot closed this Jul 3, 2022
@sourcery-ai sourcery-ai bot deleted the sourcery/app_store branch July 3, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant