We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 939c7eb commit 5363262Copy full SHA for 5363262
1 file changed
pre_commit_hooks/check_munkipkg_buildinfo.py
@@ -33,6 +33,7 @@ def validate_buildinfo_key_types(buildinfo, filename):
33
"""Ensure build-info files contain the proper types."""
34
35
# Remap string type to support unicode in both Python 2 and 3
36
+ # DEPRECATED: Python 2 support will be removed in the future
37
string = basestring if sys.version_info.major == 2 else str
38
39
# Pkginfo keys and their known types. Omitted keys are left unvalidated.
0 commit comments