Skip to content

Commit 939c7eb

Browse files
committed
Remove AutoPkg>2 warning
1 parent e7f9d13 commit 939c7eb

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

pre_commit_hooks/check_autopkg_recipes.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -176,16 +176,6 @@ def validate_endofcheckphase(process, filename):
176176
def validate_minimumversion(process, min_vers, ignore_min_vers_before, filename):
177177
"""Ensure MinimumVersion is set appropriately for the processors used."""
178178

179-
# Warn if using a MinimumVersion greater than or equal to 2
180-
# warn_on_vers = "2"
181-
# suggest_vers = "1.4.1"
182-
# if Version(min_vers) >= Version(warn_on_vers):
183-
# print(
184-
# "{}: WARNING: Choosing MinimumVersion {} limits the potential "
185-
# "audience for your AutoPkg recipe. Consider using MinimumVersion "
186-
# "{} if your processors support it.".format(filename, min_vers, suggest_vers)
187-
# )
188-
189179
# Processors for which a minimum version of AutoPkg is required.
190180
# Note: packaging.version.Version considers this True: "1.0" == "1.0.0"
191181
proc_min_versions = {

0 commit comments

Comments
 (0)