saiakarsh193/PyCube-Solver

Fix 9 Maintainability, 2 Complexity issues in helper.py

saiakarsh193 opened this issue · 0 comments

CodeFactor found multiple issues:

Unnecessary "else" after "return"

The if statement can be replaced with 'return bool(test)'

Consider using enumerate instead of iterating with range and len

Complex Method