From 860ca4e0efe3d1a2d63095e4720ccb56224b34f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Thu, 28 Oct 2021 14:03:04 +0200 Subject: [PATCH] Disable PyLint warning C0209 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 178a06a801..f9b1110547 100644 --- 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