Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@Everspace

Description

@Everspace
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.