Skip to content

Commit

Permalink
Merge pull request #253 from ilnarkhasanov/redundant-comments
Browse files Browse the repository at this point in the history
Remove comments
  • Loading branch information
yegor256 committed Mar 29, 2024
2 parents 639baa9 + 8edbd4c commit 51f7d88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions metrics/cyclomatic_complexity.py
Expand Up @@ -42,10 +42,8 @@ def branches(parser_class: tree.CompilationUnit) -> int:
count = 1
elif isinstance(parser_class, tree.SwitchStatementCase):
count = 1
# count = len(node.case)
elif isinstance(parser_class, tree.TryStatement):
count = 1
# count = len(node.catches)
return count


Expand Down

0 comments on commit 51f7d88

Please sign in to comment.