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

Add newline after module docstrings in preview style #8283

Merged
merged 3 commits into from
Oct 28, 2023

Commits on Oct 27, 2023

  1. Add newline after module docstrings in preview style

    Change
    ```python
    """Test docstring"""
    a = 1
    ```
    to
    ```python
    """Test docstring"""
    
    a = 1
    ```
    in preview style, but don't touch the docstring otherwise.
    
    Do we want to ask black to also format the content of module level docstrings? Seems inconsistent to me that we change function and class docstring indentation/contents but not module docstrings.
    
    Fixes #7995
    konstin committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    43558f5 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Copy over docstring fix

    charliermarsh committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    ba98750 View commit details
    Browse the repository at this point in the history
  2. Add clippy ignore

    charliermarsh committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    f0028ee View commit details
    Browse the repository at this point in the history