Skip to content

Commit

Permalink
Add --coverityserver
Browse files Browse the repository at this point in the history
  • Loading branch information
JokeWaumans committed Jun 17, 2024
1 parent 1f086d3 commit bd528f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mlx/warnings/warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def warnings_wrapper(args):
parser = argparse.ArgumentParser(prog='mlx-warnings')
group1 = parser.add_argument_group('Configuration command line options')
group1.add_argument('--coverity', dest='coverity', action='store_true')
group1.add_argument('--coverityserver', dest='coverityserver', action='store_true')
group1.add_argument('-d', '--doxygen', dest='doxygen', action='store_true')
group1.add_argument('-j', '--junit', dest='junit', action='store_true')
group1.add_argument('-r', '--robot', dest='robot', action='store_true')
Expand Down Expand Up @@ -301,6 +302,8 @@ def warnings_wrapper(args):
warnings.activate_checker_name('xmlrunner')
if args.coverity:
warnings.activate_checker_name('coverity')
if args.coverityserver:
warnings.activate_checker_name('coverityserver')
if args.robot:
robot_checker = warnings.activate_checker_name('robot')
robot_checker.parse_config({
Expand Down

0 comments on commit bd528f3

Please sign in to comment.