fix deprecated call

This commit is contained in:
Anthony Sottile 2025-10-16 10:23:27 -04:00
parent 1b424ccfa2
commit ddfcf4034b
2 changed files with 2 additions and 1 deletions

View file

@ -219,7 +219,7 @@ def check_for_cygwin_mismatch() -> None:
if is_cygwin_python ^ is_cygwin_git:
exe_type = {True: '(cygwin)', False: '(windows)'}
logger.warn(
logger.warning(
f'pre-commit has detected a mix of cygwin python / git\n'
f'This combination is not supported, it is likely you will '
f'receive an error later in the program.\n'