Describe the bug
The plain renderer doesn't work properly when the location is a multi-line string.
To Reproduce
Steps to reproduce the behavior:
$ .tox/py312/bin/precli tests/unit/rules/python/stdlib/argparse/examples/argparse_add_argument_password.py --plain
PY027: Invocation of Process Using Visible Sensitive Information
File "tests/unit/rules/python/stdlib/argparse/examples/argparse_add_argument_password.py", line
20, in <module>
parser.add_argument(
^
Error: Secrets in CLI arguments are leaked to command history, logs, ps output, etc.
Found 1 errors, 0 warnings, and 0 notes in 1 files and 26 lines of code.
Expected behavior
Should underline entire multi-line
Describe the bug The plain renderer doesn't work properly when the location is a multi-line string.
To Reproduce Steps to reproduce the behavior:
Expected behavior Should underline entire multi-line
Version
Additional context