E231 when using f-string
siner308 opened this issue · 1 comments
siner308 commented
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 ':'
asottile commented
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