Minor linting improvements

I have now disabled W1203 globally, see comment in
pyproject.toml
This commit is contained in:
Richard Bowman 2021-04-27 11:17:11 +01:00
parent 90f5a755b1
commit a2ba95c1d3
4 changed files with 11 additions and 7 deletions

View file

@ -25,7 +25,13 @@ ensure_newline_before_comments = true
line_length = 88
[tool.pylint.'MESSAGES CONTROL']
disable = "fixme,C,R"
# W1203 warns about using f strings in logging statements.
# I'm really not concerned about the performance implications of this,
# particularly as we often have the log level set quite high. I think
# for our current purposes, using f strings in logging statements is
# more readable and thus a good idea in many places - I've disabled
# this warning code globally for that reason.
disable = "fixme,C,R,W1203"
max-line-length = 88
[tool.poe.executor]