Skip to content

Commit

Permalink
Whitelist path documentation (#328)
Browse files Browse the repository at this point in the history
* Add whitelist to configuration documentation

It may be unclear to users that the whitelist is configurable by adding
it to the `paths` variable in pyproject.toml (see
#327). Adding it into the
example configuration should make this more obvious.

---------

Co-authored-by: Jendrik Seipp <[email protected]>
  • Loading branch information
mssalvatore and jendrikseipp authored Sep 28, 2023
1 parent 2586ee6 commit 3725d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ ignore_decorators = ["@app.route", "@require_*"]
ignore_names = ["visit_*", "do_*"]
make_whitelist = true
min_confidence = 80
paths = ["myscript.py", "mydir"]
paths = ["myscript.py", "mydir", "whitelist.py"]
sort_by_size = true
verbose = true
```
Expand Down

0 comments on commit 3725d1f

Please sign in to comment.