- SonarLint for VS Code 1.15.0, used together with Python 3.7.4 in VS Code 1.41.1
- SonarLint for PyCharm, 4.5.1.15617, with PyCharm 2019.2.6 Professional Edition
F-string used together with raw string is supported in Python 3.6+ (https://www.python.org/dev/peps/pep-0498/#raw-f-strings), but I notice that variable used in a combination of f-string and raw string is categorized as unused
by SonarLint, and a warning is raised which is a false positive to me.
This issue only arise when I use f-string combined with raw-string. If I’m purely using f-string, I don’t observe this issue.