We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b424cc commit ddfcf40Copy full SHA for ddfcf40
pre_commit/git.py
@@ -219,7 +219,7 @@ def check_for_cygwin_mismatch() -> None:
219
220
if is_cygwin_python ^ is_cygwin_git:
221
exe_type = {True: '(cygwin)', False: '(windows)'}
222
- logger.warn(
+ logger.warning(
223
f'pre-commit has detected a mix of cygwin python / git\n'
224
f'This combination is not supported, it is likely you will '
225
f'receive an error later in the program.\n'
setup.cfg
@@ -52,6 +52,7 @@ check_untyped_defs = true
52
disallow_any_generics = true
53
disallow_incomplete_defs = true
54
disallow_untyped_defs = true
55
+enable_error_code = deprecated
56
warn_redundant_casts = true
57
warn_unused_ignores = true
58
0 commit comments