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

Fix crash with f-string docstrings #4019

Merged
merged 3 commits into from Nov 7, 2023
Merged

Commits on Nov 3, 2023

  1. Fix crash with f-string docstrings

    Python does not consider f-strings to be docstrings, so we probably
    shouldn't be formatting them as such
    
    Fixes psf#4018
    
    Despite its name, I think docstring_preview.py might be testing stable
    style, which this unfortunately does change
    hauntsaninja committed Nov 3, 2023
    Copy the full SHA
    576f623 View commit details
    Browse the repository at this point in the history
  2. Update src/black/nodes.py

    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    hauntsaninja and AlexWaygood committed Nov 3, 2023
    Copy the full SHA
    513f4ea View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. changelog

    hauntsaninja committed Nov 4, 2023
    Copy the full SHA
    c548676 View commit details
    Browse the repository at this point in the history