Skip to content

Commit

Permalink
Fix: Added = to define a public attribute in class _ComplexityCounter…
Browse files Browse the repository at this point in the history
…(object). Issue #14
  • Loading branch information
iZafiro committed Feb 25, 2020
1 parent 1a26d22 commit 29f9ee8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(self) -> None:
self.variables: DefaultDict[AnyFunctionDef, List[str]] = defaultdict(
list,
)
self._exit_metrics: _ComplexityExitMetrics()
self._exit_metrics = _ComplexityExitMetrics()

def check_arguments_count(self, node: AnyFunctionDefAndLambda) -> None:
"""Checks the number of the arguments in a function."""
Expand Down

0 comments on commit 29f9ee8

Please sign in to comment.