Seems expected, as linters can't be sure when it's not intentional. Like this request to pylint:
https://github.com/PyCQA/pylint/issues/1589
Is there usually enough context for a linter to make an educated guess?
https://github.com/PyCQA/pylint/issues/1589
Is there usually enough context for a linter to make an educated guess?
Maybe as a matter of linting. As a matter of language design, I think + for string concatenation is a big mistake; using different symbols for numeric addition and string concatenation is something Perl got right.
But my impression using pylint is that its default settings are wildly opinionated, hence the surprise that this wouldn't have fallen under that umbrella.