Fix pylint complexity warning for c2g
Opened this issue · 0 comments
rofrano commented
Need to refactor the c2g
function into smaller functions to reduce complexity.
Current pylint
error:
Run # stop the build if there are Python syntax errors or undefined names
0
dgi/cli.py:243:1: C901 'c2g' is too complex (11)
1 C901 'c2g' is too complex (11)
1
Error: Process completed with exit code 1.