gecko-dev/dom/reporting
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
..
tests Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
CrashReport.cpp Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
CrashReport.h
DeprecationReportBody.cpp Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
DeprecationReportBody.h Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
EndpointForReportChild.cpp
EndpointForReportChild.h
EndpointForReportParent.cpp
EndpointForReportParent.h
FeaturePolicyViolationReportBody.cpp Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
FeaturePolicyViolationReportBody.h Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
PEndpointForReport.ipdl
Report.cpp Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
Report.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
ReportBody.cpp Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
ReportBody.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
ReportDeliver.cpp Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
ReportDeliver.h
ReportingHeader.cpp Bug 1656359 - eliminate needless string flattening when calling JS_ParseJSON; r=peterv 2020-08-04 14:17:37 +00:00
ReportingHeader.h
ReportingObserver.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
ReportingObserver.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
ReportingUtils.cpp Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
ReportingUtils.h Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug 2020-04-18 12:25:57 +00:00
TestingDeprecatedInterface.cpp
TestingDeprecatedInterface.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00