#NEWLINE# @ pytest . fixture #NEWLINE# def mock_repo_config( ) : #NEWLINE# #INDENT# config = { #NEWLINE# #INDENT# 'repo' : 'git@github.com:pre-commit/pre-commit-hooks' , #NEWLINE# 'sha' : '5e713f8878b7d100c0e059f8cc34be4fc2e8f897' , #NEWLINE# 'hooks' : [ { #NEWLINE# #INDENT# 'id' : 'pyflakes' , #NEWLINE# 'files' : '\\.py$' , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } #NEWLINE# config_wrapped = apply_defaults ( [ config ] , CONFIG_JSON_SCHEMA ) #NEWLINE# validate_config_extra ( config_wrapped ) #NEWLINE# return config [ 0 ]