Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

How to fix false positives about "The inspection detects misuse of binary operators" #32

Open
zrma opened this issue Feb 5, 2020 · 0 comments

Comments

@zrma
Copy link

zrma commented Feb 5, 2020

Dear.

both_bool = isinstance(a, bool) ^ isinstance(b, bool)

it has occurred because "Possibly incorrect operator" by "The inspection detects misuse of binary operators"

how I can fix it exclude ignoring inspection profile settings?

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant