globality-corp / flake8-logging-format

Flake8 extension to validate (lack of) logging format strings
Apache License 2.0
134 stars 21 forks source link

visit_Dict raises an exception if there is a variable in the expression #66

Closed alexsok-bit closed 2 weeks ago

alexsok-bit commented 1 year ago

If any other type other than a string is passed to the extra attribute as a key for a dictionary, this will cause an exception in the visit_Dict method

Снимок экрана от 2022-12-15 22-54-10

The result of the fixing action Снимок экрана от 2022-12-15 22-56-50

PR: https://github.com/globality-corp/flake8-logging-format/pull/67

alexsok-bit commented 1 year ago

67