Demo: Remove deptry dependency checker#1276
Draft
codegen-sh[bot] wants to merge 2 commits intodevelopfrom
Draft
Conversation
- Remove deptry from pre-commit hooks - Remove deptry from dev dependencies in pyproject.toml - Remove deptry configuration section - Remove deptry from setup script - Update lockfile to reflect removal
Contributor
Author
|
🔍 Broken test auto-fixer • Learn more
|
Codecov Report✅ All modified and coverable lines are covered by tests. |
- Remove empty lines in dev-dependencies list - Remove empty line in setup script - Remove orphaned deptry configuration lines - Clean up extra blank lines in config files
Contributor
Author
|
✅ Fixed failing pre-commit checks on PR #1276 The issue was formatting problems left behind from the deptry removal: Problems fixed:
Commit: 63185d9 - Fix formatting issues from deptry removal The pre-commit checks should now pass! 🎉 💻 View my work • 🛑 Stop • 🚫 Ban all checks • React 👍 or 👎 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR demonstrates what it would look like to remove
deptryfrom the codebase.What is deptry?
deptryis a Python dependency checker that scans your codebase to find:Current Status
Currently, deptry runs successfully with no issues found:
Changes Made
This PR removes deptry completely:
.pre-commit-config.yaml)pyproject.toml)[tool.deptry])scripts/setup.sh)uv.lock)Should We Remove It?
Arguments for keeping deptry:
Arguments for removing deptry:
Recommendation
Since deptry is currently working well and finding no issues, it suggests your dependency management is already clean. However, it provides ongoing value by preventing future dependency issues. The overhead is minimal, so I'd recommend keeping it unless you have specific issues with it.
This is a demonstration PR - not intended for merge
💻 View my work • 👤 Initiated by
Jay Hack• 💬 Initiated in #demo • About Codegen⛔ Remove Codegen from PR • 🚫 Ban action checks