diff --git a/helpers/__main__.py b/helpers/__main__.py index ab5341e..b4dd963 100644 --- a/helpers/__main__.py +++ b/helpers/__main__.py @@ -61,6 +61,8 @@ if __name__ == "__main__": parser.add_argument("-clg", "--changelog-gen", dest="changeloggen", action="store_true", help="enable changelog generation") + parser.add_argument("-cpc", "--complexity-check", dest="complexitycheck", action="store_true", help="enable complexity check") + args = parser.parse_args() ################################## @@ -75,6 +77,7 @@ if __name__ == "__main__": # args.docgen = True # args.docgenpdf = True # args.changeloggen = True + # args.complexitycheck = True helpers = [] if args.typecheck == True: @@ -104,6 +107,9 @@ if __name__ == "__main__": if args.changeloggen == True: helpers.append(changelog_gen) + if args.complexitycheck == True: + helpers.append(complexity_check) + for helper in helpers: helper.set_context(project_rootdir_path, pyproject) helper.reset_result_dir()