bndr / bndr/pipreqs

remove duplication of version in __init__ and remove not used variables

Open
#422 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

probably something like:
`__version__ = importlib.metadata.version('pipreqs')`

refs:
https://docs.python.org/3/library/importlib.html
https://github.com/python-poetry/poetry/issues/273

Contributor guide

Open the contributing guide

Research direction

Start by locating the package __init__ file, the existing version declarations, and the unused variables referenced by the issue. Compare the current metadata setup with importlib.metadata.version and the linked Python documentation; done means one authoritative version source and removal of confirmed unused variables without breaking the package tests or CLI.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.