The dependabot docs say that you can indicate which dependency type to check per package manager. However, it is not clear how it tells between development and production packages. The other options are pretty straightforward (all
, direct
, and indirect
).
If you choose dependency-type: production
under npm
, I am assuming dependabot will ignore any packages inside of devDependencies
. Unfortunately, I'm not sure since the docs don't mention the specific criteria the tool uses.
With pip
, it is even less clear. The reason why is because there are no PEPs that outline naming conventions for the requirements file. Since you can basically have multiple requirements file without clear rules on their names, how will dependabot know which one to check? For example, I have seen dev-requirements.txt and requirements_dev.txt as development packages files. I know it is a best practice to choose one or the other (or perhaps another variation) and stick with it, but I am wondering which one dependabot will examine if I do dependency-type: development
under pip
.