]> 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 12:03:04 +0000 (14:03 +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.  Sort all disabled warnings in .pylintrc.

.pylintrc

index 178a06a801dd67f02674a76d5b6815f876635b00..f9b1110547fb1fde382feeff3ec667882587aad2 100644 (file)
--- a/.pylintrc
+++ b/.pylintrc
@@ -1,8 +1,9 @@
 [MASTER]
 disable=
+    C0103, # invalid-name
     C0114, # missing-module-docstring
     C0115, # missing-class-docstring
     C0116, # missing-function-docstring
+    C0209, # consider-using-f-string
+    C0415, # import-outside-toplevel
     R0801, # duplicate-code
-    C0103, # invalid-name
-    C0415,# import-outside-toplevel