Browse Source

[pylint] disable consider-using-f-string in .pylintrc

Pylint 2.11 added [1][2]

consider-using-f-string:
  Emitted when .format() or '%' is being used to format a string.

We're not ready to enforce f-strings everywhere, so just disable this new
warning.

[1] https://pylint.pycqa.org/en/latest/whatsnew/2.11.html
[2] https://github.com/PyCQA/pylint/issues/3592

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Markus Heiser 3 years ago
parent
commit
fe6470cbe6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .pylintrc

+ 1 - 0
.pylintrc

@@ -62,6 +62,7 @@ confidence=
 disable=bad-whitespace,
 disable=bad-whitespace,
         duplicate-code,
         duplicate-code,
         missing-function-docstring,
         missing-function-docstring,
+        consider-using-f-string,
 
 
 # Enable the message, report, category or checker with the given id(s). You can
 # Enable the message, report, category or checker with the given id(s). You can
 # either give multiple identifier separated by comma (,) or put this option
 # either give multiple identifier separated by comma (,) or put this option