-
Notifications
You must be signed in to change notification settings - Fork 3k
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
dev: update pre-commit config #12592
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Continue to review full report in Codecov by Sentry.
|
@@ -181,7 +179,7 @@ def _test_basic_view_ops(spark_session): | |||
try: | |||
spark_session.sql("SELECT * FROM test_view") | |||
assert False, "test_view must not exist" | |||
except: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should actually be using pytest.raises(Exception, "expected message")
the way these tests are set up currently does not actually test anything, since the AssertionError would get caught and suppressed by the except block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in other words - ruff
is flagging a real issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will let @chakru-r know about that - not a blocker for this PR
Checklist