blob: f5e5479a690b6dd739c693577ff49d104afd6958 [file] [log] [blame] [edit]
#!/usr/bin/env vpython3
# Copyright 2023 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Standalone Python script to run yapf. Uses vpython to download the yapf
library from CIPD.
"""
# [VPYTHON:BEGIN]
# python_version: "3.11"
#
# wheel: <
# name: "infra/python/wheels/yapf-py3"
# version: "version:0.30.0"
# >
# [VPYTHON:END]
import sys
from yapf import run_main
if __name__ == '__main__':
sys.exit(run_main())