Closed Akasurde closed 1 year ago
pycodestyle 2.11 raises E201 and E202 on fstring with spaces in Python 3.12.0rc1, whereas 3.11.4 does not have any warnings -
# pyenv local 3.11.4 # pycodestyle --version 2.11.0 # pycodestyle hello.py # pyenv local 3.12.0rc1 # pycodestyle --version 2.11.0 # pycodestyle hello.py hello.py:2:10: E201 whitespace after '{' hello.py:2:12: E202 whitespace before '}'
# cat hello.py a = "Hello" print(f'{ a }')
this is correct. 3.11 cannot detect this but 3.12 can
pycodestyle 2.11 raises E201 and E202 on fstring with spaces in Python 3.12.0rc1, whereas 3.11.4 does not have any warnings -