We currently have flake8 max-complexity disabled because it would break the flake8 gate. This is because the main function in hubble.shell is absolutely absurdly complicated:
./hubble/shell.py:240:1: C901 'main' is too complex (24)
We should refactor that function in to something less stupid, and enable the max-complexity gate.
We currently have flake8
max-complexity
disabled because it would break the flake8 gate. This is because themain
function inhubble.shell
is absolutely absurdly complicated:We should refactor that function in to something less stupid, and enable the
max-complexity
gate.