Closed rlin569 closed 1 year ago
Hi Raymond,
Thanks for the PR! I see that CI pylint is issuing this warning "R0022: Useless option value for disable: 'no-self-use' was moved to an optional extension".
no-self-use
refers to the situation where a class method does not use the self argument
This was a warning in the previous version of pylint, but later on, pylint people decided it’s not necessary to raise a warning for such situation, so they move it to optional warning
This means we don’t have to disable no-self-use anymore, it’s already disabled in the new pylint version
To fix this:
Added operations to
simplify(expr)
inast.py
. Added basic test cases totest_simplify.py
.