Merge pull request #604 from coldnight/master

Fix specify config file not work while installing
This commit is contained in:
Anthony Sottile 2017-09-05 10:12:48 -07:00 committed by GitHub
commit 98ca85eef5
5 changed files with 25 additions and 10 deletions

View file

@ -71,6 +71,7 @@ def install(
sys_executable=sys.executable,
hook_type=hook_type,
hook_specific=hook_specific_contents,
config_file=runner.config_file,
skip_on_missing_conf=skip_on_missing_conf,
)
pre_commit_file_obj.write(contents)