Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
56 lines (37 sloc) 2.55 KB
Root.Formatting.Spacing.TrailingSpace Parent Index
Sibling aspects BlankLine SpacesAroundOperator

TrailingSpace

Unnecessary whitespace at end of a line.

Trailing space is all whitespace found after the last non-whitespace character on the line until the newline. This includes tabs "\t", blank lines, blanks etc.

Tastes

Taste Meaning Values
allow_trailing_spaces Determines whether or not trailing spaces should be allowed or not. False, True

* bold denotes default value

Subaspects

This aspect does not have any sub aspects.

Example

def func( a ):
      pass

Importance

Trailing spaces make code less readable and maintainable.

How to fix this

Removing the trailing spaces.