Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

feat(checker): update D202 for inner functions #395

Closed
wants to merge 1 commit into from

Commits on Aug 5, 2019

  1. feat(checker): change D202 for inner funcs (PyCQA#395)

    Changes D202: "No blank lines allowed after function docstring" to
    allow space below function docstrings with inner functions.
    
    i.e. allows:
    
    ```python
    
    def outer():
        """Valid docstring."""
    
        def inner():
            pass
    
        return pass
    ```
    
    See comment from @cdeil in PyCQA#361.
    
    feat(checker): add test case to test_definitions
    
    docs(changelog): add change to release notes
    lewisacidic committed Aug 5, 2019
    Configuration menu
    Copy the full SHA
    f8b9419 View commit details
    Browse the repository at this point in the history