Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.3 KB

File metadata and controls

37 lines (24 loc) · 1.3 KB
Root.Redundancy.UnusedVariable.UnusedParameter Parent Index
Sibling aspects UnusedGlobalVariable UnusedLocalVariable

UnusedParameter

Unused parameters are functions arguments which are never used.

Subaspects

This aspect does not have any sub aspects.

Example

def func(a):
    pass

Importance

Unused paramaters are useless to functions, they them difficult to use and maintain.

How to fix this

Those parameters can easily be removed without consequences.