gecko-dev/taskcluster/docker
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-build Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
condprof Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
custom-v8 Bug 1660278 - Add libtinfo5 requirement to custom-v8 docker. r=jmaher 2020-08-27 14:29:13 +00:00
debian-base Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
debian-build Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
debian-packages Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
debian-raw Bug 1634204 - Upgrade Linux build docker images to Debian 8. r=froydnj 2020-05-06 14:16:03 +00:00
debian8-mozjs-rust-build Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
debian10-test
debian10-test-iris Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
decision
diffoscope No bug: Allow diffoscope wrapper to unpack arbitrary packages, not just ones named target; r=glandium 2020-08-18 07:54:20 +00:00
fetch Bug 1616925 - Support a taskcluster-based ssh key for fetch jobs r=tomprince 2020-08-03 15:33:01 +00:00
firefox-flatpak Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
firefox-snap Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
funsize-update-generator Bug 1657409 Remove obsolete S3 bucket r=nthomas,Callek 2020-08-06 21:41:46 +00:00
gdb-test Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
github-sync Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
image_builder Bug 1662305 - Remove workaround for shortcomings from kaniko < 1. r=taskgraph-reviewers,aki 2020-09-01 00:35:22 +00:00
index-task Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr 2020-03-19 13:47:51 +00:00
lint Bug 1660548 - Don't globally install Python packages for linting r=ahal 2020-08-21 21:03:28 +00:00
mingw32-build Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
partner-repack Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
periodic-updates Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
push-to-try Bug 1649168: Add a new docker-image with the tools for pushing to try; r=rail 2020-07-10 16:11:03 +00:00
python-dependency-update Bug 1643661 Fix shell quoting with hg commands r=mtabara 2020-06-05 12:06:21 +00:00
recipes Bug 1666172 - Update node to 10.22.1. CLOSED TREE 2020-09-29 20:42:10 +00:00
static-analysis-build Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
system-symbols-mac
system-symbols-win
toolchain-build Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
ubuntu1804-test Bug 1598055 Fix up output redirection in ubuntu1804-test creation r=egao 2020-06-08 19:21:23 +00:00
update-verify
valgrind-build Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
visual-metrics Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
webrender Bug 1626058: Build docker images with kaniko, instead of dind; r=glandium,hwine 2020-07-07 19:53:32 +00:00
wgpu Bug 1651731: [lint] Python and shell files without `#!` should not be executable; r=linter-reviewers,perftest-reviewers,geckoview-reviewers,agi,sylvestre,sparky 2020-07-09 20:29:18 +00:00
REGISTRY