You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For example, when you have a list of 50 dependencies that can be removed, I would like to find those in my editor and remove them. It can take a lot of unnecessary time when then having to select them manually from the terminal output.
Describe the solution you would like
For the dependencies that are unused (DEP002), a regular expression matching all those would be nice to see generated. This would make it easy to easily remove them.
The text was updated successfully, but these errors were encountered:
Hi, I'm not fully sure to get what you want. Do you expect deptry, in case of DEP002 violations, to report a way to facilitate removing unused dependencies in a project, as a sort of one-liner? If so, how would the regex works? Wouldn't it be too specific to the editor in use?
If we really were to do that, I would rather see a more portable solution, like automatically removing the dependencies that are unused if given a certain flag, although this could remove some dependencies that are never imported but still necessary in the codebase, so even that solution would be dangerous.
Is your feature request related to a problem? Please describe.
For example, when you have a list of 50 dependencies that can be removed, I would like to find those in my editor and remove them. It can take a lot of unnecessary time when then having to select them manually from the terminal output.
Describe the solution you would like
For the dependencies that are unused (DEP002), a regular expression matching all those would be nice to see generated. This would make it easy to easily remove them.
The text was updated successfully, but these errors were encountered: