Skip to content

Commit

Permalink
docs: update docs on --exclude-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Mar 16, 2023
1 parent f255378 commit 58f484f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ When using `requirements.txt` files to specify dependencies, there is no way to

Yes, you can specify a list of sections after the `--sections` argument. It all depends on what your setup looks like and what you set out to achieve.

### Can I exclude dependencies from the scan?

Yes, you can use the `--exclude-deps` argument to specify one or more dependencies you do not wish to get warnings for.

This feature meant to be used for dependencies you must specify in your dependencies spec file, but which you don't necessarily import in your source code. An example of such a dependency are database drivers, which are commonly only defined in connection strings and will signal to the ORM which driver to use.

### Can I run Creosote in a GitHub Action workflow?

Yes, please see the `action` job example in [`.github/workflows/test.yml`](.github/workflows/test.yml).
Expand Down

0 comments on commit 58f484f

Please sign in to comment.