Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code uses the pattern if test: return True else: return False Pylint alerts on that and suggest a simplification: The if statement can be replaced with 'return bool(test)' (simplifiable-if-statement) Hence I removed the if and instead returned the test directly. That simplifies the code and makes it easier to understand.
- Loading branch information