sedona icon indicating copy to clipboard operation
sedona copied to clipboard

[CI] Add pre-commit hook `vulture` to find dead Python code

Open jbampton opened this issue 1 year ago • 0 comments

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?

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.

jbampton avatar Oct 11 '24 23:10 jbampton