Lines Matching +full:lint +full:- +full:py +full:- +full:build
5 # Use of this source code is governed by a BSD-style license that can be
34 duration = (finish-self._start).total_seconds()
95 GIT, 'rev-parse', '--abbrev-ref', 'HEAD']).rstrip()
98 GIT, 'rev-parse', 'HEAD']).rstrip()
103 subprocess.check_call([GIT, 'checkout', '-b', self._branch,
104 '-t', 'origin/master'])
108 subprocess.check_call([GIT, 'reset', '--hard', 'HEAD'])
112 subprocess.check_call([GIT, 'branch', '-D', self._branch])
116 """Recursively removes a directory, even if it's marked read-only.
119 …ium.googlesource.com/chromium/tools/build/+/f3e7ff03613cd59a463b2ccc49773c3813e77404/scripts/commo…
124 are read-only, which svn repositories and some .svn files are. We need to
131 bit and try again, so we do that too. It's hand-waving, but sometimes it
166 > python -c "import chromium_utils; chromium_utils.RemoveDirectory('test')"
167 To avoid this issue, we pass this error-handling function to rmtree. If
168 we see the exact sort of failure, we ignore it. All other failures we re-
177 # for non-Windows platforms, so we use OSError (of which it is a subclass)
178 # to avoid lint complaints about an undefined global on non-Windows
192 # Windows will ignore the non-read-only bits in the chmod value.