consider-using-join
raised for code equivalent to ", ".join("a", "b", "c")
#6639
Labels
Enhancement ✨
Improvement to a component
Good first issue
Friendly and approachable by new contributors
Hacktoberfest
Help wanted 🙏
Outside help would be appreciated, good for new contributors
High effort 🏋
Difficult solution or problem to solve
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Current problem
For
Where the final result would be
"".join(['1', '2', '3'])
we already raise aconsider-using-join
. Sometime function that could be join instead are sneakier, for example:Could be
", ".join(['1', '2', '3'])
.Desired solution
consider-using-join
detecting possiblejoin
using a non-empty string.The text was updated successfully, but these errors were encountered: