Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to ignore the pyproject.toml and only use the requirements.txt #911

Open
tgonzalez89 opened this issue Oct 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@tgonzalez89
Copy link

Is your feature request related to a problem? Please describe.

It's impossible to make the tool only check the dependencies in the requirements.txt if a pyproject.toml exists.
The tool enforces the order defined in https://deptry.com/usage/#dependencies-extraction

Describe the solution you would like

An option to prioritize the requirements.txt over the pyproject.toml or to ignore the pyproject.toml altogether.
Maybe an option force-select one of the options defined in https://deptry.com/usage/#dependencies-extraction, this would be an even more generic solution.

Additional context

NA

@tgonzalez89 tgonzalez89 added the enhancement New feature or request label Oct 24, 2024
@mkniewallner
Copy link
Collaborator

We'll have to think a bit more about the design first, but agree that it would be great to have, as this is not the first time this comes up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants