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? 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
or
if raw_data["subtest"]: test_id = raw_data["subtest"] else: test_id = raw_data["test"]
I would have expected the code block to be simplified to test_id = raw_data["subtest"] or raw_data["test"].
test_id = raw_data["subtest"] or raw_data["test"]
The text was updated successfully, but these errors were encountered:
Makes sense, thanks!
Sorry, something went wrong.
if-else-block-instead-of-if-exp (SIM108)
0c2b88f
Successfully merging a pull request may close this issue.
I would have expected the code block to be simplified to
test_id = raw_data["subtest"] or raw_data["test"]
.The text was updated successfully, but these errors were encountered: