Skip to content

Commit 5363262

Browse files
committed
Add Python 2 deprecation note
1 parent 939c7eb commit 5363262

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pre_commit_hooks/check_munkipkg_buildinfo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def validate_buildinfo_key_types(buildinfo, filename):
3333
"""Ensure build-info files contain the proper types."""
3434

3535
# Remap string type to support unicode in both Python 2 and 3
36+
# DEPRECATED: Python 2 support will be removed in the future
3637
string = basestring if sys.version_info.major == 2 else str
3738

3839
# Pkginfo keys and their known types. Omitted keys are left unvalidated.

0 commit comments

Comments
 (0)