epilog='Now let\'s get some salt states in ship shop shape !')
argparser.add_argument('--verbose', dest='verbose', action='store_true', help="Let's be super chatty and generate a lot of output.")
argparser.add_argument('--no-werror', dest='werror', action='store_false', help="Don't treat warnings as errors")
epilog='Now let\'s get some salt states in ship shop shape !')
argparser.add_argument('--verbose', dest='verbose', action='store_true', help="Let's be super chatty and generate a lot of output.")
argparser.add_argument('--no-werror', dest='werror', action='store_false', help="Don't treat warnings as errors")
argparser.add_argument('sls', nargs='+', help="list of salt state files")
argparser.set_defaults(verbose=False, werror=True)
args = argparser.parse_args()
argparser.add_argument('sls', nargs='+', help="list of salt state files")
argparser.set_defaults(verbose=False, werror=True)
args = argparser.parse_args()
- print("HI I'M SALTY_LINTER. LETS GET CHATTY.")
-
-# Open the type database file and read in the type database
-# Error out of that file doesn't parse / doesn't exist / is unreadab
-typedb = yaml.load(args.typedb)
-
-if args.verbose:
- print("HERE'S YOUR TYPE DATABSE. WALLOW IN IT.")
- pp.pprint(typedb)
- print("WRAP UP YOUR TYPE DATABASE WALLOWING.")
+ print("HELLO EVERYONE I'M SALTY-LINTER AND I'M VERBOSE.")
if lint_errors or (lint_warnings and args.werror):
exit_status = 1
for (line_number, an_error) in lint_errors:
if lint_errors or (lint_warnings and args.werror):
exit_status = 1
for (line_number, an_error) in lint_errors: