File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ def _entry(modname):
149149 )
150150
151151
152- def warn_on_unknown_keys_at_top_level (extra , orig_keys ):
152+ def warn_unknown_keys (extra , orig_keys ):
153153 logger .warning (
154154 'Unexpected config key(s): {}' .format (
155155 ', ' .join (sorted (extra )),
@@ -237,7 +237,7 @@ def warn_on_unknown_keys_at_top_level(extra, orig_keys):
237237 MigrateShaToRev (),
238238 cfgv .WarnAdditionalKeys (
239239 ('repo' , 'rev' , 'hooks' ),
240- warn_on_unknown_keys_at_top_level ,
240+ warn_unknown_keys ,
241241 ),
242242)
243243DEFAULT_LANGUAGE_VERSION = cfgv .Map (
@@ -273,7 +273,7 @@ def warn_on_unknown_keys_at_top_level(extra, orig_keys):
273273 'fail_fast' ,
274274 'minimum_pre_commit_version' ,
275275 ),
276- warn_on_unknown_keys_at_top_level ,
276+ warn_unknown_keys ,
277277 ),
278278)
279279
You can’t perform that action at this time.
0 commit comments