Docstrings quotes not following PEP 0257
Bug #1466802 reported by
Gorka Eguileor
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 |
Changed in cinder: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-2 → 7.0.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/193124 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=76df9f313b5 cc4b4c08f2634d0 eac5b05a23299b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 76df9f313b5cc4b 4c08f2634d0eac5 b05a23299b
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 - /www.python. org/dev/ peps/pep- 0008/#documenta tion-strings
https:/
Closes-Bug: #1466802 2deb52aed59edc1 543827436ba
Change-Id: I7d03643845b054