gecko-dev/docs
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
..
_static Bug 1636499 - ride along - add support of strikethrough r=marco 2020-05-08 16:57:28 +00:00
bug-mgmt Bug 1667831 - doc: refresh links as many pages moved in-tree r=firefox-source-docs-reviewers,ahal DONTBUILD 2020-09-29 17:53:54 +00:00
code-quality Bug 1667831 - doc: fix more pygments r=firefox-source-docs-reviewers,championshuttler DONTBUILD 2020-09-30 07:03:41 +00:00
contributing no bug - Remove old DXR references r=andi DONTBUILD 2020-10-20 11:59:25 +00:00
crash-reporting Bug 1460338 - Migrate symbol server docs from MDN to in-tree. r=sylvestre DONTBUILD 2020-10-08 14:32:54 +00:00
setup Bug 1668941: Update build and debugging documentation for macOS. r=haik DONTBUILD 2020-10-13 17:58:50 +00:00
testing-rust-code Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina. 2020-07-07 07:38:27 +00:00
writing-rust-code Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina. 2020-07-07 07:38:27 +00:00
conf.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
config.yml Bug 1664507 - Add documentation for testing policy r=Gijs DONTBUILD 2020-09-11 19:19:29 +00:00
index.rst Bug 1654339 - Add Glean metrics autodocs to moztreedocs r=janerik,ahal 2020-08-21 16:30:45 +00:00
jsdoc.json