Skip to content

Cedric/remove dead code#117

Draft
ViaDézo1er / cedric (viadezo1er) wants to merge 8 commits intomainfrom
cedric/remove-dead-code
Draft

Cedric/remove dead code#117
ViaDézo1er / cedric (viadezo1er) wants to merge 8 commits intomainfrom
cedric/remove-dead-code

Conversation

@viadezo1er
Copy link
Contributor

Fix #98

As advised by Abhi, used vulture to find unused code.
Only targeted code with 100 confidence, should I also target confidence of 60?

Pytest fixtures aren't handled well so some are whitelisted in the pyproject.toml

vulture still finds dataset_record_id in logger.py, but the docstring indicates we might want to keep it for now (maybe for backward compatibility?).
Need another opinion on this.

Some variables had their name changed by prefixing them with a _, this is cosmetic and indicates to vulture this is voluntarily unused.

@viadezo1er ViaDézo1er / cedric (viadezo1er) marked this pull request as draft March 24, 2026 23:24
@viadezo1er
Copy link
Contributor Author

I need to review the need human review commits, otherwise this PR is probably done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add vulture to remove dead code in this repo

2 participants