-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Better primer tests : more reliable, easier to understand, and more stable #7738
Comments
I don't really understand this. The PR run should check that the commit it is running on is the same as on Main, so any new messages (if all works well) should come from the PR.
This probably warrants its own issue as it is easily fixable and self contained.
We would need to do some more investigation as to why this happens.
We should probably ask contributors to split such PRs. |
See #7725 (comment)
I mean in a PR like this one : #7723 , the primer says: The following messages are now emitted:
The following messages are no longer emitted:
But it could say: The following messages content changed:
+ *"open_brackets == 0" can be simplified to "not open_brackets" as 0 is falsey*
- *Avoid comparisons to zero* This is what I had in mind with the primer refactor I started some time ago and did not have time to finish yet (and there's now conflicts 😄 ) |
Ah that last change seems good, although again, probably deserves it's own issue as these "main tracking issues" never seem to go anywhere (there is a very similar issue about the primer just like this open still). With respect to that PR and comment: we would need to investigate what's going on there. Both the Main and PR run report to be running over the same Edit: I thought of another potential issue: the pulling of |
I like the checklists around a topic because we have 650+ issues and things get lost or duplicated easily and conversation happens all over the place (when and where a problem happen). So some centralization for subject with a lot of things to do like primer or python interpreters or releases helps imo. There's definitely going to be a separate (even multiple) pull request for each though. We can also open a new issue if you think one of the checklist item is contentious and need to be discussed. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
We should use pylint's default values and not pylint's own configuration during the primer to avoid this: #7796 (comment) |
Current problem
unnecessary-list-index-lookup
for enumerate #7685 (comment)Desired solution
The text was updated successfully, but these errors were encountered: