Docstrings quotes not following PEP 0257

Bug #1466802 reported by Gorka Eguileor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Andrey Pavlov

Bug Description

According to PEP 0257 docstrings should start with triple double quotes """ and end the same way.

There are a good number of instances where docstrings start with quadruple quotes instead of triple: """"
There are other instances were single quotes are used instead of double quotes: '''

Changed in cinder:
assignee: nobody → Andrey Pavlov (apavlov-e)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/193124
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=76df9f313b5cc4b4c08f2634d0eac5b05a23299b
Submitter: Jenkins
Branch: master

commit 76df9f313b5cc4b4c08f2634d0eac5b05a23299b
Author: Andrey Pavlov <email address hidden>
Date: Thu Jun 18 16:19:51 2015 +0300

    Fix doc string definitions

    Changed """" at start of docstring to """
    and changed ''' to """ in docstrings.

    Docstring standards are here -
    https://www.python.org/dev/peps/pep-0008/#documentation-strings

    Closes-Bug: #1466802
    Change-Id: I7d03643845b0542deb52aed59edc1543827436ba

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-2 → 7.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.