python:S1542 rule partially working

Hey there!

I’ve moved your post to the section on reporting false-positives.

Can you please include which product(s) you’re using (and if relevant, what versions?). A super simple reproducer would also be great.