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

[Revise] Deptry 0.2.5 uses modified configuration #1174

Closed
fpgmaas opened this issue Sep 7, 2022 · 2 comments
Closed

[Revise] Deptry 0.2.5 uses modified configuration #1174

fpgmaas opened this issue Sep 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@fpgmaas
Copy link

fpgmaas commented Sep 7, 2022

Summary

Deptry 0.2.5 adds new functionality to identify missing or transitive dependencies. The ignore_dependencies is deprecated, and replaced with ignore_obsolete, ignore_missing and ignore_transitive.

For this purpose, the configuration in pyproject.toml should be altered.

Code

[tool.deptry]
ignore_obsolete = [
'tabulate'
]
ignore_directories = [
    'input.py', 'tests', '.venv'
]
@fpgmaas fpgmaas added the bug Something isn't working label Sep 7, 2022
@fpgmaas
Copy link
Author

fpgmaas commented Sep 7, 2022

Optionally, we could pin the deptry dependency to a fixed version in this early phase of deptry's development.

@fpgmaas fpgmaas changed the title Deptry 0.2.4 uses modified configuration Deptry 0.2.5 uses modified configuration Sep 7, 2022
@lisphilar lisphilar changed the title Deptry 0.2.5 uses modified configuration [Rrvise] Deptry 0.2.5 uses modified configuration Sep 7, 2022
@lisphilar
Copy link
Owner

Thank you!!
I will merge your pull request after replacing ">0.2.5" with "0.2.6" to fixt the version temporarily.

@lisphilar lisphilar changed the title [Rrvise] Deptry 0.2.5 uses modified configuration [Revise] Deptry 0.2.5 uses modified configuration Sep 7, 2022
@lisphilar lisphilar added this to the Release v2.26.2 milestone Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants