Currently, the code formatting and lint checks in the CI and pre-commit hooks are only applied to the raftify crate itself.
Let's expand this to include the raftify-py and raftify-cli packages as well.
To do so, we first need to run the cargo clippy command on these packages to fix any code that breaks the linting rules.