This MR introduces a restriction on the consecutive use of 'or' and 'and' operators at the same level within logical expressions with warning msg. The primary goal is to enhance code readability and prevent ambiguity in logical operations.
Related
Closes #159
Testing
I have added one more test where the mock logger was used, and verified that it was called as expected.
Checklist
Before submitting a Pull Request, please ensure the following:
[ ] 🚨 This PR does not introduce breaking changes.
[ ] All CI checks (GH Actions) pass.
[ ] Documentation is updated as needed.
[ ] Tests are updated or added as necessary.
[ ] Code is well-commented, especially in complex areas.
[ ] Git history is clean — commits are squashed to the minimum necessary.
Description
This MR introduces a restriction on the consecutive use of 'or' and 'and' operators at the same level within logical expressions with warning msg. The primary goal is to enhance code readability and prevent ambiguity in logical operations.
Related
Closes #159
Testing
I have added one more test where the mock logger was used, and verified that it was called as expected.
Checklist
Before submitting a Pull Request, please ensure the following: