Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (36 sloc) 2.01 KB
Root.Formatting.Quotation Parent Index
Sibling aspects Length Spacing

Quotation

Quotation mark used for strings and docstrings.

Tastes

Taste Meaning Values
preferred_quotation Represents the preferred quotation ', "

* bold denotes default value

Subaspects

This aspect does not have any sub aspects.

Example

# Here is an example of code where both '' and "" quotation mark
# Are used.

string = 'coala is always written with lowercase c.'
string = "coala is always written with lowercase c."

Importance

Using the same quotation whenever possible in the code, improve on its readability by introducing consistency.

How to fix this

Choosing a preferred quotation and using it everywhere (if possible).