-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improve wording on W0402 message #6387
Conversation
Does anyone know what rstcheck and mypy means and why it's failing the precommit hook? |
Oh, magically rstcheck passes since I reverted f4d4107. Maybe rstcheck is a changelog sanity checker, who knows. But mypy still seems to bomb out with some more serious-looking errors. |
Do not take the current pre-commit fail into account, our main branch is broken we'll fix it :) |
I encourage you to install and activate |
Oh, that's a great idea and works really well, thanks |
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.
From what I see, this review needs to be concluded or something before the remaining checks will run.
Sorry if I'm generating a lot of spam, I don't know github that well yet.
To prevent bitcoin mining first time contributors need to be approved before the pipeline runs :) You won't have to be approved after this one get merged ! |
Can anyone see if the remaining tests are failing because of an issue with the PR or because of that problem with the main branch? The precommit passes locally on my machine but there is a "Some checks were not successful" on github and I don't understand. It is worth noting that here I have python 3.9.2 only, and this is presumably why the tests for other versions are not being run. My working tree is clean and up to date with origin/W0402polish, (origin being my github repo.) and |
Looking at the test output the expected output for Current failures in |
Oh, thanks for taking a look. That file didn't exist here; that's why I couldn't see it! It's new since PR#6360, which was merged in recently. So I've done the necessaries, let's see if the tests pass this time. |
Okay, now some tests for W1203 are failing. I'm certain I didn't touch W1203. Am I missing a step here or something? |
@omarandlorraine I think you were just a little too quick to merge |
Okay, let's try this. There has been so much toing and froing and pulling and rebasing for this simple pull request. Because someone else is working on the main branch. Is this normal? |
No, this not normal. You just caught in 24h of extreme unluckiness. Both issues have now been resolved and there shouldn't be any need to merge |
Yeah.. it's the first time main was broken since... maybe august 2021, 8 months ago (#4801), sorry for the unusually bad experience. |
Oh, that's good. I'll keep on contributing in the future then 🙂 I can see that the checks are still failing though. But I can't see the logs, maybe because I'm on my phone right now. I'll have another look tomorrow. |
@omarandlorraine Just a heads up, for some reason you still seem to be missing the necessary commit. efa2a70 You might want to rebase on main. Something like |
19f4685
to
d8b0f1d
Compare
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.
Took the liberty to rebase because the intense activity on main made the merge strategy problematic.
Pull Request Test Coverage Report for Build 2192208128
💛 - Coveralls |
@Pierre-Sassoulas I'm seeing a lot of different emails in the |
adjust messages for W0402 updated ChangeLog Revert "update changelogs with new checker" Sorry, I left some crud in the changelogs. Should be fixed now. add to doc/whatsnew/2.14.rst Update ChangeLog Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> update functional tests for new message hopefully also pass test on Python 3.10 change message for new test as well.
d8b0f1d
to
e9e92cc
Compare
One of the adresse was "you@example.com" so I removed it. But it's possible to create alias in https://github.com/PyCQA/pylint/blob/main/script/.contributors_aliases.json otherwise. Thank you for your contribution @omarandlorraine ! |
You're welcome! Thanks for the help merging and closing it. |
Type of Changes
Description
I left the scrolly thing up there since the Issue has the Documentation tag, hope that's the right thing to do.
So I have improved the wording on W0402; it now says "Deprecated module <module name>" for consistency and style.
Closes #6169