Skip to content

Commit

Permalink
[pylint] disable consider-using-f-string in .pylintrc
Browse files Browse the repository at this point in the history
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] pylint-dev/pylint#3592

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
  • Loading branch information
return42 committed Sep 17, 2021
1 parent cfef47f commit fe6470c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pylintrc
Expand Up @@ -62,6 +62,7 @@ confidence=
disable=bad-whitespace,
duplicate-code,
missing-function-docstring,
consider-using-f-string,

# 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
Expand Down

0 comments on commit fe6470c

Please sign in to comment.