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.
https://flake8.pycqa.org
Other
3.39k stars 306 forks source link

f string = #1944

Closed Ralac07 closed 2 months ago

Ralac07 commented 2 months ago

how did you install flake8?

python -m pip install flake8

unmodified output of flake8 --bug-report

{
  "platform": {
    "python_implementation": "CPython",
    "python_version": "3.12.0",
    "system": "Windows"
  },
  "plugins": [
    {
      "plugin": "mccabe",
      "version": "0.7.0"
    },
    {
      "plugin": "pycodestyle",
      "version": "2.12.0"
    },
    {
      "plugin": "pyflakes",
      "version": "3.2.0"
    }
  ],
  "version": "7.1.0"
}

describe the problem

this code gets E251, E202 and E251 text = "lorem ipsum" print(f'{text = }')

asottile commented 2 months ago

please read the issue template, specifically the bold parts