PyCQA / flake8-bugbear

A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
MIT License
1.06k stars 104 forks source link

B907: fix crash and test failures on py312 #399

Closed AlexWaygood closed 1 year ago

AlexWaygood commented 1 year ago

Fixes #393. On py312, f-strings parse differently and ast.JoinedStr nodes have proper column numbers.

JelleZijlstra commented 1 year ago

Thank you!