We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The following code:
class aClass: bAttr = 4 cAttr = 5 _ = aClass.bAttr if aClass.cAttr else 5
Emits the following error:
$ refurb file.py (test.py:6:5 [FURB110]: Replace `x if x else y` with `x or y`)
But it should not be emitting an error instance because...
Refurb: v1.6.0 Mypy: v0.981
Python 3.11.0
# N/A
None
The text was updated successfully, but these errors were encountered:
Fix name of member expressions not being checked:
092a575
Closes #112, #113.
Thank you for reporting this! I should've caught this one
Sorry, something went wrong.
Fix name of member expressions not being checked (#115):
1a2e5c3
Closes #112, #113, #114
dosisod
Successfully merging a pull request may close this issue.
The Bug
The following code:
Emits the following error:
But it should not be emitting an error instance because...
Version Info
Python Version
Python 3.11.0
Config File
# N/A
Extra Info
None
The text was updated successfully, but these errors were encountered: