globality-corp / flake8-logging-format

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

Check f-string (in Python 3.6+) #6

Closed sfstpala closed 6 years ago

sfstpala commented 6 years ago

Hi :)

This checks for f-strings in Python 3.6 or later.

I think that this checking for the Python version (if version_info >= (3, 6)) is not super elegant, so If you have a nicer way to do it please tell me. :)

🙂