PyCQA / flake8

flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.

Home Page:https://flake8.pycqa.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E231 when using f-string

siner308 opened this issue · comments

how did you install flake8?

pip install flake8

unmodified output of flake8 --bug-report

{
  "platform": {
    "python_implementation": "CPython",
    "python_version": "3.10.6",
    "system": "Darwin"
  },
  "plugins": [
    {
      "plugin": "mccabe",
      "version": "0.7.0"
    },
    {
      "plugin": "pycodestyle",
      "version": "2.11.1"
    },
    {
      "plugin": "pyflakes",
      "version": "3.1.0"
    }
  ],
  "version": "6.1.0"
}

describe the problem

what I expected to happen

flake8 must be succeed

sample code

email = "example@address.com
mailto_string = f"mailto:{email}"

commands ran

$ flake8 t.py
E231 missing whitespace after ':'

flake8 does not implement any checks and does not exhibit the error at the versions you're claiming

next time please don't ignore the issue prompts and then the issue template