MaRDI4NFDI / python-zbMathRest2Oai

Read data from the zbMATH Open API https://api.zbmath.org/docs and feed it to the OAI-PMH server https://oai.portal.mardi4nfdi.de/oai/
GNU General Public License v3.0
4 stars 0 forks source link

refactor: merge collapsible `with` statements #77

Closed deepsource-autofix[bot] closed 4 months ago

deepsource-autofix[bot] commented 4 months 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.