sedona
sedona copied to clipboard
[CI] Add pre-commit hook `vulture` to find dead Python code
https://github.com/jendrikseipp/vulture?tab=readme-ov-file#configuration
https://github.com/jendrikseipp/vulture?tab=readme-ov-file#integrations
https://github.com/jendrikseipp/vulture?tab=readme-ov-file#flake8-noqa-comments
https://stackoverflow.com/questions/5033727/how-do-i-get-pyflakes-to-ignore-a-statement
Did you read the Contributor Guide?
- Yes, I have read the Contributor Rules and Contributor Development Guide
Is this PR related to a JIRA ticket?
- No
What changes were proposed in this PR?
Added another check/test to our pre-commit framework.
Cleaned up some Python code.
How was this patch tested?
Ran locally: pre-commit run --all-files
Did this PR include necessary documentation updates?
- No, this PR does not affect any public API so no need to change the documentation.