-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ineffective_open_options
lint
#11902
Conversation
27228c8
to
4e973bf
Compare
r? @llogiq |
I think the name should be similar enough to |
Renaming to |
4e973bf
to
81233e1
Compare
write_and_append
lintineffective_open_options
lint
Done! |
Looks good to me. r=me after rebase. @bors delegate+ |
✌️ @GuillaumeGomez, you can now approve this pull request! If @llogiq told you to " |
81233e1
to
ded94ec
Compare
@bors r=llogiq |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
1 similar comment
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Fixes #9628.
For
OpenOptions
, in case you call bothwrite(true)
andappend(true)
onOpenOptions
, thenwrite(true)
is actually useless sinceappend(true)
does it.r? @flip1995
changelog: Add
ineffective_open_options
lint