in uberpoet/commandlineutil.py [0:0]
def make_custom_buckconfig_local(buckconfig_path):
logging.warn('Overwriting .buckconfig.local file at: %s', buckconfig_path)
config = ConfigParser.RawConfigParser()
config.add_section('project')
config.set('project', 'ide_force_kill', 'never')
config.add_section('parser')
config.set('parser', 'polyglot_parsing_enabled', 'true')
config.set('parser', 'default_build_file_syntax', 'SKYLARK')
with open(buckconfig_path, 'w') as buckconfig:
config.write(buckconfig)