At the moment we do not have any Python linter that can waste our time when correct systax, variables, remove unused terms, ...
We can consider to use:
https://github.com/charliermarsh/ruff
It is a 10000x faster than any Python linter (it was written in Rust)