testdrivenio / flask-on-docker

Flask + Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

F541 f-string is missing placeholders

bsekiewicz opened this issue · comments

Step 9/28 : RUN flake8 --ignore=E501,F401 .
---> Running in 8c52c55c4d5b
./project/init.py:52:12: F541 f-string is missing placeholders
ERROR: Service 'web' failed to build: The command '/bin/sh -c flake8 --ignore=E501,F401 .' returned a non-zero code: 1

Probably it is some python 3.8 issue.

The temporary solution is to remove the f-string (f mark) or add F541 to flake8 ignore parameter.