Skip to content

Commit

Permalink
Remove descriptions about "profile"
Browse files Browse the repository at this point in the history
"Profile" is deprecated, legacy and undocumented.
Note: decriptions about profile are still in man pages or help messages.
  • Loading branch information
a-takahashi223 committed Apr 1, 2022
1 parent a7bd46a commit c4b2d52
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion doc/source/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ look like the following:

.. code-block:: yaml
### profile may optionally select or skip tests
### configuration may optionally select or skip tests
# (optional) list included tests here:
tests: ['B201', 'B301']
Expand Down
5 changes: 0 additions & 5 deletions doc/source/start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ context and only reporting on the high-severity issues::

bandit examples/*.py -n 3 -lll

Bandit can be run with profiles. To run Bandit against the examples directory
using only the plugins listed in the ``ShellInjection`` profile::

bandit examples/*.py -p ShellInjection

Bandit also supports passing lines of code to scan using standard input. To
run Bandit with standard input::

Expand Down

0 comments on commit c4b2d52

Please sign in to comment.