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
While trying to shlex_quote inside a list comprehension, it still shows an inspection.
To Reproduce
Code or Steps to reproduce the behavior:
Try to write:
importsubprocessfromshleximportquoteasshlex_quotefiles_to_add=input("Enter the files to be added to the commit:\n").split(" ")
subprocess.run(
["git", "add", *[shlex_quote(file) forfileinfiles_to_add]],
check=True,
shell=True,
)
See that it still complains about PR100 inspection.
Expected behavior
No PR100 inspection showed when the input is being shlex_quoted inside a list comprehension.
Screenshots
Additional context
Plugin Version: 1.25.0
PyCharm Version (or IDE version): PyCharm 2022.1.3 (Professional Edition) Build #PY-221.5921.27, built on June 22, 2022
Python Version: Python 3.10.4
The text was updated successfully, but these errors were encountered:
Describe the bug
While trying to
shlex_quote
inside a list comprehension, it still shows an inspection.To Reproduce
Code or Steps to reproduce the behavior:
Expected behavior
No PR100 inspection showed when the input is being
shlex_quote
d inside a list comprehension.Screenshots
Additional context
The text was updated successfully, but these errors were encountered: