PyCharm not recognizing Python 3.6 features
Answered
My project is run on Python 3.6, as set in project environment, but code inspection reports error on f'' string formatter. Invalidate caches / restart doesn't help.
PyCharm 2019.2.5

Please sign in to leave a comment.
Hello Eden,
Perhaps, you have a code compatibility option enabled in Inspections settings.
In the Settings/Preferences dialog (⌘,), go to Editor | Inspections, find Code compatibility inspection. Change the option according to the Python version.
Let me know if that is the case.
Hi Antonina.
Yes, that was the case, I had older Python versions checked in compatibility inspection choices.
Thanks.