You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we can solve this by using whole words instead, so look for foo and not any words that ends with foo. Curious to know what the ecosystem changes would look like.
Daraan
changed the title
False positive D402 when mentioning a different function that has the fuction as suffix
False positive D402 when mentioning a different function that has the function name as suffix
Sep 5, 2024
I stumbled on the following false positive cases where the mention of
prefix_foo
flags a D402 on a function calledfoo
Version:
ruff 0.6.3
Command:
ruff check . --select D402 --isolated
Related #3769; where the same function is mentioned explicitly without a prefix.
The text was updated successfully, but these errors were encountered: