gecko-dev/dom/presentation
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
..
interfaces Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
ipc Bug 1265275 - Removed using namespace mozilla::ipc; from PresentationIPCService.cpp r=smaug 2020-08-21 11:37:17 +00:00
provider Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
tests Bug 1619953 - P11 - Mochitest `test_presentation_dc_sender.html` disabled for e10s r=mccr8 2020-08-05 17:06:13 +00:00
AvailabilityCollection.cpp
AvailabilityCollection.h
ControllerConnectionCollection.cpp
ControllerConnectionCollection.h
DCPresentationChannelDescription.cpp
DCPresentationChannelDescription.h
Presentation.cpp Bug 1614462: Part 3b - Remove moribund DocShell FrameType/IsMozBrowser/IsInMozBrowser fields. r=nika 2020-04-20 22:15:24 +00:00
Presentation.h
PresentationAvailability.cpp Bug 1265275 Removed using namespace mozilla; and using namespace mozilla::dom; from PresentationAvailability.cpp r=smaug 2020-07-02 13:53:04 +00:00
PresentationAvailability.h Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
PresentationCallbacks.cpp Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} from PresentationCallbacks.cpp. r=smaug 2020-07-01 10:59:53 +00:00
PresentationCallbacks.h
PresentationConnection.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
PresentationConnection.h Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
PresentationConnectionList.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
PresentationConnectionList.h
PresentationDataChannelSessionTransport.jsm 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
PresentationDeviceManager.cpp
PresentationDeviceManager.h
PresentationLog.h
PresentationNetworkHelper.jsm 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
PresentationReceiver.cpp
PresentationReceiver.h
PresentationRequest.cpp Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
PresentationRequest.h
PresentationService.cpp Bug 1265275 - Replaced using namespace mozilla; & using namespace mozilla::dom; with namespace mozilla{..} & namespace dom{..} in PresentationRequest.cpp. Added scope resolution to the NS_CreatePresentationService() definition in PresentationService.cpp r=smaug 2020-08-09 14:53:57 +00:00
PresentationService.h
PresentationServiceBase.h
PresentationSessionInfo.cpp Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' wih namespace mozilla {..} namespace dom {..} in PresentationSessionInfo.cpp r=smaug 2020-10-06 10:33:16 +00:00
PresentationSessionInfo.h
PresentationSessionRequest.cpp
PresentationSessionRequest.h
PresentationTCPSessionTransport.cpp Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} in PresentationTCPSessionTransport.cpp r=smaug 2020-08-05 16:07:51 +00:00
PresentationTCPSessionTransport.h
PresentationTerminateRequest.cpp
PresentationTerminateRequest.h
PresentationTransportBuilderConstructor.cpp
PresentationTransportBuilderConstructor.h
components.conf
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00