gecko-dev/taskcluster/scripts/misc
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
..
android-gradle-dependencies Bug 1644046 - Get Sonatype nexus with fetch task rather than when building `android-build` image. r=froydnj 2020-06-15 16:29:30 +00:00
android-gradle-dependencies.sh
browsertime.sh
build-binutils-linux.sh
build-cbindgen.sh
build-cctools-port.sh
build-clang-mingw.sh Bug 1655482 - Bump MinGW to fix the STATUS_HEAP_CORRUPTION define r=tjr 2020-10-22 15:58:54 +00:00
build-clang-tidy-external.sh Bug 1664394 - rename linux64-civet-tidy to linux64-external-tidy;r=andi 2020-09-15 15:06:10 +00:00
build-clang.sh Bug 1662608 - Set -fcrash-diagnostics-dir in build-clang.py r=froydnj 2020-09-10 20:25:54 +00:00
build-custom-v8.sh Bug 1640429 - Run v8 fetch with --force. r=jmaher 2020-05-26 15:42:22 +00:00
build-dist-toolchains.sh
build-dump-syms.sh Bug 1652782 - add a taskcluster task for building dump_syms for Mac; r=firefox-build-system-reviewers,rstewart 2020-07-20 21:46:52 +00:00
build-fix-stacks.sh Bug 1654292 - remove Cargo.toml hacks from toolchain build scripts; r=firefox-build-system-reviewers,rstewart 2020-07-21 17:04:49 +00:00
build-gcc-linux.sh
build-gcc-mingw32.sh
build-gcc-sixgill-plugin-linux.sh Bug 1668489 - Switch to sixgill that qualifies `using`-aliased template members to avoid collisions between different types r=jonco 2020-10-23 23:13:07 +00:00
build-geckodriver.sh Bug 1643099 - [geckodriver] Build geckodriver as static executable for Linux. r=froydnj 2020-06-30 13:19:41 +00:00
build-gn-common.sh
build-gn-linux.sh
build-gn-macosx.sh
build-gn-win32.sh
build-grcov.sh Bug 1654292 - remove Cargo.toml hacks from toolchain build scripts; r=firefox-build-system-reviewers,rstewart 2020-07-21 17:04:49 +00:00
build-hfsplus-linux.sh
build-infer-linux.sh
build-libdmg-hfsplus.sh No Bug - Remove taskcluster.net references in the tree. r=aki 2020-01-24 15:52:50 +00:00
build-liblowercase.sh Bug 1617794 - Add a toolchain task to build a LD_PRELOAD helper for Windows cross builds. r=froydnj 2020-02-27 21:40:50 +00:00
build-llvm-dsymutil.sh
build-lucetc.sh
build-makecab.sh Bug 1654882 - Add a makecab toolchain. r=froydnj 2020-07-24 13:03:44 +00:00
build-mar-tools.sh
build-mingw-fxc2-x86.sh
build-mingw32-nsis.sh Bug 1612424 - Patch nsis to call lld with --no-insert-timestamp r=froydnj 2020-01-31 08:30:46 +00:00
build-minidump-stackwalk.sh
build-nasm.sh Bug 1672889 - Add a mac nasm toolchain. r=firefox-build-system-reviewers,rstewart 2020-10-23 13:54:26 +00:00
build-resourcemonitor.sh Bug 1648051 Task resource monitor r=mtabara,tomprince 2020-08-06 01:21:24 +00:00
build-rust-size.sh Bug 1654292 - remove Cargo.toml hacks from toolchain build scripts; r=firefox-build-system-reviewers,rstewart 2020-07-21 17:04:49 +00:00
build-sccache.sh Bug 1617143 - Do not build openssl ourselves for sccache. r=froydnj 2020-02-21 14:25:58 +00:00
build-upx.sh
build-wasi-sysroot.sh Bug 1661126 - Update wasi-sdk to pick up clang-11 build fixes r=firefox-build-system-reviewers,rstewart 2020-08-25 22:19:08 +00:00
build-winchecksec.sh Bug 1625696 - Update winchecksec and build/use it natively for Linux. r=dmajor 2020-05-07 00:34:36 +00:00
build-wine.sh Bug 1632693 - Upgrade wine to 5.0. r=rstewart 2020-04-25 21:02:23 +00:00
exfiltrate-pdbstr.sh Bug 1618781 - Add toolchains tasks for pdbstr. r=froydnj 2020-03-18 03:34:44 +00:00
fetch-chromium.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
fetch-content Bug 1630809 - when downloading artifacts using fetch-content, optionally verify hash using chain-of-trust.json r=aki 2020-08-27 22:19:46 +00:00
generate-codeql-db-cpp.sh Bug 1619683 - Build CodeQL Databases r=firefox-build-system-reviewers,rstewart 2020-05-15 04:03:39 +00:00
generate-codeql-db-javascript.sh Bug 1619683 - Build CodeQL Databases r=firefox-build-system-reviewers,rstewart 2020-05-15 04:03:39 +00:00
mingw-dwrite_3.patch Bug 1655482 - Bump MinGW to fix the STATUS_HEAP_CORRUPTION define r=tjr 2020-10-22 15:58:54 +00:00
mingw-winrt.patch
osx-cross-linker
repack-android-emulator-linux.sh Bug 1637381: Use zstd for android toolchains r=firefox-build-system-reviewers,glandium 2020-05-21 13:29:13 +00:00
repack-android-ndk-linux.sh Bug 1637381: Use zstd for android toolchains r=firefox-build-system-reviewers,glandium 2020-05-21 13:29:13 +00:00
repack-android-sdk-linux.sh Bug 1637381: Use zstd for android toolchains r=firefox-build-system-reviewers,glandium 2020-05-21 13:29:13 +00:00
repack-clang-linux-macosx-cross.sh Bug 1652600 - Rename build-clang-linux-{win,macosx}-cross.sh to 'repack' r=froydnj 2020-07-14 15:55:20 +00:00
repack-clang-linux-win-cross.sh Bug 1652600 - Rename build-clang-linux-{win,macosx}-cross.sh to 'repack' r=froydnj 2020-07-14 15:55:20 +00:00
repack-node.sh Bug 1666172 - Update node to 10.22.1. CLOSED TREE 2020-09-29 20:42:10 +00:00
repack_rust.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
run-profileserver-macos.sh
run-profileserver.sh
source-test-clang-setup.sh
source-test-common.sh
source-test-infer-setup.sh
tooltool-download.sh
verify-updatebot.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
vs-cleanup.sh
vs-setup.sh
vs-setup32.sh
wgpu-deps-vendoring.sh Bug 1620779 - Use built-in cargo vendor to vendor wrench / wgpu. 2020-03-07 21:28:07 +01:00
wr-cargotest-macos-build.sh Bug 1672499 - Get wrench cargo tests from the deps subdirectory. r=kats 2020-10-22 11:25:58 +00:00
wr-macos-cross-build-setup.sh Bug 1665371 - Switch WR reftests to llvmpipe and update the expectations r=gw,kats 2020-09-25 19:54:32 +00:00
wrench-android-build.sh Bug 1634275 - Update glslopt to 0.1.2 to remove dependency on bindgen. r=jrmuizel,kats 2020-04-30 12:25:17 +00:00
wrench-deps-vendoring.sh Bug 1661117 - Follow-up to update standalone WR CI for osmesa-src bump. r=kvark 2020-09-16 18:02:45 +00:00
wrench-macos-build.sh Bug 1665371 - Switch WR reftests to llvmpipe and update the expectations r=gw,kats 2020-09-25 19:54:32 +00:00
wrench-windows-tests.sh Bug 1634275 - Update glslopt to 0.1.2 to remove dependency on bindgen. r=jrmuizel,kats 2020-04-30 12:25:17 +00:00
zstdpy Bug 1637381: Add zstdpy script r=glandium 2020-05-21 13:28:55 +00:00