forked from PyCQA/bandit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to address docstring code scan issues, add flake8 configurati…
…on (PyCQA#671) * Updates to address docstring code scan issues, add flake8 configuration Signed-off-by: asears <asears@users.noreply.github.com> * Update .flake8 Co-authored-by: Eric Brown <ericwb@users.noreply.github.com> * Shorthand SPDX license one line header Signed-off-by: asears <asears@users.noreply.github.com> * update main for single-line SPDX and remove additional comment Signed-off-by: asears <asears@users.noreply.github.com> * revert init py docstrings. Signed-off-by: asears <asears@users.noreply.github.com> * Revert headings after PR review Signed-off-by: asears <asears@users.noreply.github.com> * remove 120 character limit setting Signed-off-by: asears <asears@users.noreply.github.com> * shorten description to address 80 character limit Signed-off-by: asears <asears@users.noreply.github.com> Co-authored-by: Eric Brown <ericwb@users.noreply.github.com>
- Loading branch information
1 parent
4357973
commit 3762fbf
Showing
7 changed files
with
59 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
#!/usr/bin/env python | ||
# SPDX-License-Identifier: Apache-2.0 | ||
"""Bandit is a tool designed to find common security issues in Python code. | ||
Bandit is a tool designed to find common security issues in Python code. | ||
To do this Bandit processes each file, builds an AST from it, and runs | ||
appropriate plugins against the AST nodes. Once Bandit has finished | ||
scanning all the files it generates a report. | ||
Bandit was originally developed within the OpenStack Security Project and | ||
later rehomed to PyCQA. | ||
https://bandit.readthedocs.io/ | ||
""" | ||
from bandit.cli import main | ||
main.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters