You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
ericwb
changed the title
Mult-line underlining no working properly in plain renderer
Mult-line underlining not working properly in plain renderer
Jul 22, 2024
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
The text was updated successfully, but these errors were encountered: