PyCQA / isort

A Python utility / library to sort imports.
https://pycqa.github.io/isort/
MIT License
6.53k stars 583 forks source link

Fix an error for the function `wrap.line`: Function with cyclomatic complexity higher than threshold #2186

Open bp72 opened 1 year ago

bp72 commented 1 year ago

Error: https://app.deepsource.com/gh/PyCQA/isort/run/e0ac82dd-8229-4d4c-8b30-b87e4e96558d/python/PY-R1000?listindex=0 This issue is a suggestion to refactor the function by splitting it.

The PR with the suggestion will be attached.

staticdev commented 11 months ago

Ha.. now I see you already created a PR for that.