Skip to content

Commit

Permalink
More logging on complexity per module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon authored and Ramon committed Sep 20, 2020
1 parent 75b8a0b commit aef7979
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SConstruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def _exec(cmd: str) -> None:
_exec(f'mypy {_SUBJECT} --show-error-codes --disallow-untyped-defs')

if 'complexity' in COMMAND_LINE_TARGETS:
_exec(f'radon cc {_SUBJECT}')
_exec(f'radon cc {_SUBJECT} -nc --total-average')
_exec(f'xenon {_SUBJECT} --max-absolute B --max-modules A --max-average A')

Expand Down

0 comments on commit aef7979

Please sign in to comment.