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

Ignore dev group dependencies #15

Open
PicoGeyer opened this issue Dec 19, 2023 · 1 comment
Open

Ignore dev group dependencies #15

PicoGeyer opened this issue Dec 19, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@PicoGeyer
Copy link

Currently dependencies from dev and other optional poetry groups are included in poetry audit output and there does not seem to be a way to remove them.

I discovered this when I added pytest as an optional dev dependency to my project.
I think poetry-audit should either ignore extra dependency groups by default or provide an option to do so like poetry show does: --without=dev

@opeco17 opeco17 added enhancement New feature or request help wanted Extra attention is needed labels Mar 9, 2024
@iam-sayco
Copy link

+1
I have the same feelings about it. We have a dev dependency moto which has its sub-dependency outdated.
And it's causing our pipelines to fail, but the dev environment shouldn't block us.
I would be happy to see the ignore-group option to prevent certain groups from being audited.

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

No branches or pull requests

3 participants