A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
1.06k
stars
104
forks
source link
implement B035 check for static keys in dict-comprehension #426
Closed
r-downing closed 10 months ago
Implementing static-key check for dict comprehension from https://github.com/PyCQA/flake8-bugbear/issues/391
This not only checks for hard-coded consts, but also variables that likely aren't changing as part of the generator expression