-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Ensure the docstring is a string #11143
Conversation
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.
Thanks, I'm under the impression this regression came out of the new expressions handling and we can simplify this once python 3.7 support is dropped
That part is correct - with 9335a0b, we now do
That part is not, I believe - the only thing that changes is that we don't have Thanks @tushar-deepsource! ✨ |
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.
Thanks for the fix! It'd be great if you could do those:
-
Create a new changelog file in the
changelog
folder, with a name like<ISSUE NUMBER>.<TYPE>.rst
. See changelog/README.rst for details.Write sentences in the past or present tense, examples:
- Improved verbose diff output with sequences.
- Terminal summary statistics now use multiple colors.
Also make sure to end the sentence with a
.
. -
Add yourself to
AUTHORS
in alphabetical order.
I also think we should backport this to 7.4 once merged.
for more information, see https://pre-commit.ci
Yep this was definitely an oversight in 9335a0b. Along with this change we should also audit the other changes in that commit, but I can do it separately. |
Did this, I think this one was the only problematic case. |
(cherry picked from commit 084d756) [ran: adapted to 7.4.x, fixed changelog issue number]
(cherry picked from commit 084d756) [ran: adapted to 7.4.x, fixed changelog issue number]
Resolves #11140