Syntax error highlight for valid syntax - Python 3.6

Viewed 954

Below is the elpy-config,

Elpy Configuration

Virtualenv........: None
RPC Python........: 3.6.1 (/usr/bin/python3.6)
Interactive Python: python3.6 (/usr/bin/python3.6)
Emacs.............: 25.2.1
Elpy..............: 1.15.1
Jedi..............: 0.10.2
Rope..............: 0.9.4-1
Importmagic.......: 0.1.7
Autopep8..........: 1.3.1
Yapf..............: 0.16.2
Syntax checker....: flake8 (/usr/local/bin/flake8)

but syntax checker do not accept f-string syntax of python 3.6,

enter image description here


C-u C-c C-c gives correct output in emacs, but syntax checker does recognise this syntax

> Hello, MICHAEL. Welcome!

Question:

Do I need to upgrade syntax checker?

1 Answers
Related