Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E231 when using f-string #1896

Closed
siner308 opened this issue Dec 5, 2023 · 1 comment
Closed

E231 when using f-string #1896

siner308 opened this issue Dec 5, 2023 · 1 comment

Comments

@siner308
Copy link

siner308 commented Dec 5, 2023

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 ':'
@siner308 siner308 changed the title E231 when fstring E231 when using fstring Dec 5, 2023
@siner308 siner308 changed the title E231 when using fstring E231 when using f-string Dec 5, 2023
@asottile
Copy link
Member

asottile commented Dec 5, 2023

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

@asottile asottile closed this as completed Dec 5, 2023
@PyCQA PyCQA locked as resolved and limited conversation to collaborators Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants