Skip to content

missing-docstring is emitted even with docstrings written. #1722

@Everspace

Description

@Everspace

Steps to reproduce

Use the following snippet for example.py:

#!/usr/bin/env python
"""
Does Things
"""

def dotinate(strings):
    """Joins an iterable with dots"""
    return '.'.join(strings)

help(__name__)

Current behavior

Running

pylint example.py

Results in

##########Linting Output - pylint##########
************* Module example
1,0,convention,C0111:Missing module docstring
6,0,convention,C0111:Missing function docstring

Expected behavior

Silence

pylint --version output

No config file found, using default configuration
pylint 1.7.4,
astroid 1.5.3
Python 3.7.0a2 (v3.7.0a2:f7ac4fe, Oct 17 2017, 17:06:29) [MSC v.1900 64 bit (AMD64)]

On Windows 10 Pro Build 15063.674

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy