We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75c466d commit fed86bcCopy full SHA for fed86bc
1 file changed
pre_commit_hooks/check_autopkg_recipes.py
@@ -553,17 +553,17 @@ def main(argv=None):
553
if not validate_no_superclass_procs(process, filename):
554
retval = 1
555
556
+ if HAS_AUTOPKGLIB:
557
+ if not validate_proc_args(process, filename):
558
+ retval = 1
559
+
560
if args.strict:
561
if not validate_proc_type_conventions(process, filename):
562
563
564
if not validate_required_proc_for_types(process, filename):
565
566
- if HAS_AUTOPKGLIB:
- if not validate_proc_args(process, filename):
- retval = 1
-
567
return retval
568
569
0 commit comments