Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

4746: fix weird failures in strict-boolean-expressions for 'ignore-rhs' option#4833

Merged
JoshuaKGoldberg merged 2 commits into
palantir:masterfrom
tanmoyopenroot:4746-fix-ignore-rhs-weird-faliures
Aug 25, 2019
Merged

4746: fix weird failures in strict-boolean-expressions for 'ignore-rhs' option#4833
JoshuaKGoldberg merged 2 commits into
palantir:masterfrom
tanmoyopenroot:4746-fix-ignore-rhs-weird-faliures

Conversation

@tanmoyopenroot

@tanmoyopenroot tanmoyopenroot commented Aug 21, 2019

Copy link
Copy Markdown
Contributor

PR checklist

Overview of change:

check expression only if left node is not a BooleanBinaryExpression

CHANGELOG.md entry:

[bugfix] fix strict-boolean-expressions false positive with "ignore-rhs" option

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the fix @tanmoyopenroot!

@JoshuaKGoldberg

Copy link
Copy Markdown
Contributor

Failures in testNext and testRc are unrelated.

@JoshuaKGoldberg
JoshuaKGoldberg merged commit 85d4125 into palantir:master Aug 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"ignore-rhs" causes weird failures

2 participants