-
Notifications
You must be signed in to change notification settings - Fork 22
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
Allow to specify other folders using dev-dependencies #300
Comments
Hi @MaxG87, thanks for raising the issue! In this case, I personally would add
The tests folder is currently simply ignored, see |
Yes, you are right, adding When I wrote the comment I was assuming that there is a special treatment for tests. Similar to how Should I open a separate feature request for the detection of missing imports in |
@MaxG87 yes, that would make sense! Thanks for the suggestion. |
The new feature request is #302. Since I mention the use case of this one there too, I am closing it for now. |
I am working on a project that has a
tests/
folder and ascripts/
folder. Inscripts/
are some small programs that make my life as developer more convenient. They rely on the development dependencies and on the project itself, but that is okay.However,
deptry
warns me that I import module from development dependencies, e.g.typer
. I can ignore the entire folder, but thendeptry
will not warn me if I remove a dependency I need for one of these scripts.I would like
deptry
to have an optionextend_development_files
(or similarly named) that would makedeptry
aware of other files and folders that should be treated just like thetests/
folder.Since this is my third issue in short time, I also want to thank you for this wonderful tool. I am looking forward to incorporate it into my projects.
The text was updated successfully, but these errors were encountered: