SE-Utility-Bot / utility-bot

The repository for the Utility Bot.
https://utility-bot.streamlit.app
1 stars 0 forks source link

merge collapsible `with` statements #50

Closed deepsource-autofix[bot] closed 1 year ago

deepsource-autofix[bot] commented 1 year ago

Nested with statements can be merged into a single compound with statement.

This issue is raised only when there are no other statements between the nested with statements. Merging collapsible with statements can decrease cognitive complexity, improving code readability.