Runtime error with screen/text formating
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.3k
- Forks
- 835
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 1
Description
Describe the bug
I am scanning many repositories with a single command
bandit -v -ii -lll -r ./
and I get this result:

Same happens with this command:
bandit -f txt-v -ii -lll -r ./

To Reproduce
Steps to reproduce the behavior:
Not sure how to reproduce to be honest. :D
Maybe just do as I did scan a lot of repositories using the default output.
Expected behavior
Normally I would expect a normal issue report.
Bandit version
1.5.1
Additional context
macOs Mojave version 10.14.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running bandit -v -ii -lll -r ./ and bandit -f txt-v -ii -lll -r ./ with Bandit 1.5.1, comparing the default and text-format output. The report provides no source file or test location and says reproduction is uncertain; done would mean the scan produces a normal issue report without a runtime formatting error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100