gecko-dev/dom/plugins/ipc
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
..
hangui Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
interpose Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
AStream.h
BrowserStreamChild.cpp
BrowserStreamChild.h
BrowserStreamParent.cpp
BrowserStreamParent.h
ChildTimer.cpp
ChildTimer.h
D3D11SurfaceHolder.cpp
D3D11SurfaceHolder.h
FunctionBroker.cpp Bug 1665486 - Disable CFG for FunctionBroker hook returns r=handyman 2020-09-24 17:28:18 +00:00
FunctionBroker.h Bug 1665486 - Disable CFG for FunctionBroker hook returns r=handyman 2020-09-24 17:28:18 +00:00
FunctionBrokerChild.cpp
FunctionBrokerChild.h
FunctionBrokerIPCUtils.cpp
FunctionBrokerIPCUtils.h
FunctionBrokerParent.cpp
FunctionBrokerParent.h
FunctionBrokerThread.h
FunctionHook.cpp Bug 1665351 - Disable CFG for plugin hook stub calls r=handyman 2020-09-18 16:27:03 +00:00
FunctionHook.h
IpdlTuple.h
MiniShmParent.cpp
MiniShmParent.h
NPEventAndroid.h
NPEventOSX.h
NPEventUnix.h
NPEventWindows.h
PBrowserStream.ipdl
PFunctionBroker.ipdl
PPluginBackgroundDestroyer.ipdl
PPluginInstance.ipdl
PPluginModule.ipdl Bug 1651714 - Reduce expensive includes for TabMessageUtils.h. r=smaug 2020-07-15 13:24:20 +00:00
PPluginScriptableObject.ipdl
PPluginSurface.ipdl
PStreamNotify.ipdl
PluginBackgroundDestroyer.cpp
PluginBackgroundDestroyer.h
PluginBridge.h
PluginHangUIParent.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
PluginHangUIParent.h
PluginInstanceChild.cpp Bug 1642991 - Use RemoveElementsBy where easily possible. r=froydnj 2020-06-08 09:01:48 +00:00
PluginInstanceChild.h Bug 1637992 [Linux] Remove gtk2xtbin as it's not used, r=jhorak 2020-05-18 08:12:16 +00:00
PluginInstanceParent.cpp Bug 1667863 - Replace AppendToString of IntSizeTyped with ostream usage. r=mattwoodrow 2020-09-29 02:58:35 +00:00
PluginInstanceParent.h
PluginInterposeOSX.h
PluginInterposeOSX.mm
PluginLibrary.h
PluginMessageUtils.cpp
PluginMessageUtils.h
PluginModuleChild.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
PluginModuleChild.h
PluginModuleParent.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
PluginModuleParent.h
PluginProcessChild.cpp Bug 1649684 - Use the current nsISerialEventTarget with the various process hosts. r=nika 2020-07-02 22:59:24 +00:00
PluginProcessChild.h
PluginProcessParent.cpp
PluginProcessParent.h
PluginQuirks.cpp
PluginQuirks.h
PluginScriptableObjectChild.cpp
PluginScriptableObjectChild.h
PluginScriptableObjectParent.cpp
PluginScriptableObjectParent.h
PluginScriptableObjectUtils-inl.h
PluginScriptableObjectUtils.h
PluginSurfaceParent.cpp
PluginSurfaceParent.h
PluginTypes.ipdlh
PluginUtilsOSX.h
PluginUtilsOSX.mm
PluginUtilsWin.cpp
PluginUtilsWin.h
PluginWidgetChild.cpp
PluginWidgetChild.h
PluginWidgetParent.cpp
PluginWidgetParent.h
StreamNotifyChild.h
StreamNotifyParent.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00