-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
fix(pylint): Address errors/warnings introduced by #27867 #27889
fix(pylint): Address errors/warnings introduced by #27867 #27889
Conversation
@mistercrunch this seems to be a byproduct of you merging #27867. I realize that there has been a number of recent changes on For changes emanating from |
43b94d6
to
3cd3c9d
Compare
@@ -1329,7 +1329,9 @@ def handle_cursor(cls, cursor: Cursor, query: Query) -> None: | |||
completed_splits, | |||
total_splits, | |||
) | |||
if progress > query.progress: | |||
if ( # pylint: disable=consider-using-min-builtin |
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.
I opted not to use the suggestion, i.e., query.progress = max(progress, query.progress)
as this would likely dirty the SQLAlchemy object and result in an excess of commits.
@mistercrunch looking into the checks for #27867 it seems like the logic is wrong in terms of eligibility, i.e., the following jobs didn't run: because it wrongly perceived it to be a no-op step. Furthermore none of the checks in #27867 are listed as being Although these changes don't touch any Python files, bumping any Python package has the potential to impact the integrity of the codebase which Pylint may detect. It seems imperative that all Python checks are enabled before anymore Additionally all currently opened |
Agreed. I've been creating havoc getting deep into CI. I'm really hoping we'll be much better on the other side and that things settle soon. This particular issue here was around the fact I overlooked that CI only triggers if Some of the cleanup was long overdue, but really hope I could make it less disruptive on the repo. I'll raise my level of caution, and slow the rhythm a bit. |
I'm going merge now since this fixes |
I think the issue #27867 is that it didn't touch any files in Now adding About GHA checks, there are these core issues I'd like to address:
One more issue that has more to do on how we use GHA than its mechanics, is we have a bunch of single-item matrix ( |
This should help prevent the issues experienced in this PR -> #27904 |
SUMMARY
This PR fixes CI in
master
which is broken due to #27867.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
CI.
ADDITIONAL INFORMATION