]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Disable PyLint warning C0209
authorMichał Kępień <michal@isc.org>
Thu, 28 Oct 2021 12:03:04 +0000 (14:03 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 28 Oct 2021 13:43:24 +0000 (15:43 +0200)
PyLint 2.11 reports a new warning, C0209 (consider-using-f-string).
Since f-strings are only available in Python 3.6+, existing scripts
cannot be updated to use this feature just yet because they would stop
working with older Python versions.  Instead, disable PyLint warning
C0209 for the time being.

(cherry picked from commit 860ca4e0efe3d1a2d63095e4720ccb56224b34f8)

.pylintrc

index 62cbfae3e674418c973912bd66835ae4b0df58be..a4a4d21924dbc77304b412b8c915738a29a7ff48 100644 (file)
--- a/.pylintrc
+++ b/.pylintrc
@@ -3,4 +3,5 @@ disable=
     C0114, # missing-module-docstring
     C0115, # missing-class-docstring
     C0116, # missing-function-docstring
+    C0209, # consider-using-f-string
     R0801, # duplicate-code