blob: cb6e6eb9ab71c89f56a2708e2fc1256973e4d699 [file] [log] [blame]
#!/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.8"
#
# 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())