python: pylint 2.11 support
authorJohn Snow <jsnow@redhat.com>
Thu, 16 Sep 2021 18:22:48 +0000 (14:22 -0400)
committerJohn Snow <jsnow@redhat.com>
Thu, 16 Sep 2021 19:04:04 +0000 (15:04 -0400)
We're not ready to enforce f-strings everywhere, so just silence this
new warning.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-id: 20210916182248.721529-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/setup.cfg

index 0f0cab098fe3979c5e5c6c9c9a107d50adf563f3..fdca265fec056a239664de892cc16d6b4c2852c8 100644 (file)
@@ -87,7 +87,7 @@ ignore_missing_imports = True
 # --enable=similarities". If you want to run only the classes checker, but have
 # no Warning level messages displayed, use "--disable=all --enable=classes
 # --disable=W".
-disable=
+disable=consider-using-f-string,
 
 [pylint.basic]
 # Good variable names which should always be accepted, separated by a comma.