Lines Matching +full:pylint +full:- +full:exit
9 # /usr/bin/env: 'python3 -u': No such file or directory
11 # This little shell hack is a triple-quoted noop in python, but in sh it
12 # evaluates to re-exec'ing this script in unbuffered mode.
13 # pylint: disable=pointless-string-statement
14 ''''exec python3 -u -- "$0" ${1+"$@"} # '''
22 This is a copy of https://chromium.googlesource.com/infra/luci/recipes-py/+/main/recipes.py.
26 # pylint: disable=wrong-import-position
36 from io import open # pylint: disable=redefined-builtin
45 # url (str) - the url to the engine repo we want to use.
46 # revision (str) - the git revision for the engine to get.
47 # branch (str) - the branch to fetch for the engine as an absolute ref (e.g.
63 repo_root (str) - native path to the root of the repo we're trying to run
65 recipes_cfg_path (str) - native path to the recipes.cfg file to process.
70 recipes_path (str) - native path to where the recipes live inside of the
156 * an override for the recipe engine in the form of `-O recipe_engine=/path`
157 * the --package option.
162 p.add_argument('-O', '--project-override', action='append')
163 p.add_argument('--package', type=os.path.abspath)
194 _git_check_call(['rev-parse', '--verify',
200 _git_check_call(['fetch', '--quiet', url, branch],
205 _git_check_call(['diff', '--quiet', revision], cwd=engine_path)
214 _git_check_call(['reset', '-q', '--hard', revision], cwd=engine_path)
218 _git_check_call(['clean', '-qxf'], cwd=engine_path)
228 if '--verbose' in sys.argv:
241 _git_output(['rev-parse', '--show-toplevel'],
245 args = ['--package', recipes_cfg_path] + args
249 [VPYTHON, '-u',
265 sys.exit(main())