Skip to content
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

String rules don't run over module-level docstring #9260

Closed
charliermarsh opened this issue Dec 23, 2023 · 0 comments · Fixed by #9261
Closed

String rules don't run over module-level docstring #9260

charliermarsh opened this issue Dec 23, 2023 · 0 comments · Fixed by #9261
Assignees
Labels
bug Something isn't working

Comments

@charliermarsh
Copy link
Member

E.g., if the file is exactly u"foo", we don't run UP025 on the string.

@charliermarsh charliermarsh added the bug Something isn't working label Dec 23, 2023
@charliermarsh charliermarsh self-assigned this Dec 23, 2023
charliermarsh added a commit that referenced this issue Dec 23, 2023
This ensures that we visit the module docstring like any other string.

Closes #9260.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant