gecko-dev/dom/bindings
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
..
crashtests
docs
mozwebidlcodegen Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
parser Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
test Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
AtomList.h
BindingCallContext.h
BindingDeclarations.h
BindingIPCUtils.h
Bindings.conf Bug 1646165 - Implement FOG's JavaScript API via WebIDL. r=chutten,webidl,emilio,smaug 2020-10-21 11:36:46 +00:00
BindingUtils.cpp Bug 1668785: Remove using declarations from namespace level in Proxy.h. r=mgaudet 2020-10-02 12:51:03 +00:00
BindingUtils.h Bug 1668825 - Remove unused onChild return value r=sfink 2020-10-05 07:55:13 +00:00
CallbackFunction.h
CallbackInterface.cpp
CallbackInterface.h
CallbackObject.cpp Bug 1666419: Assert IsSafeToRunScript. r=emilio 2020-09-28 06:29:44 +00:00
CallbackObject.h Bug 1663365 - Move various Object-related functions to a new js/public/Object.h header. r=jandem 2020-09-08 22:55:38 +00:00
Codegen.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
Configuration.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
DOMExceptionNames.h
DOMJSClass.h Bug 1665797 - Add a big comment about NativeProperties. r=mccr8 DONTBUILD 2020-09-24 05:07:44 +00:00
DOMJSProxyHandler.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-09-20 10:14:09 +00:00
DOMJSProxyHandler.h Bug 1663365 - Move DOM proxy-related details (including expand support) to separate headers out of jsfriendapi.h. r=jandem 2020-09-08 22:57:14 +00:00
DOMString.h
ErrorIPCUtils.h
ErrorResult.h
Errors.msg
Exceptions.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
Exceptions.h 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
FakeString.h Bug 1659674 - Change BulkWrite to return mozilla::Result. r=froydnj 2020-08-21 09:54:48 +00:00
GenerateCSS2PropertiesWebIDL.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
IterableIterator.cpp
IterableIterator.h
JSSlots.h
mach_commands.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
Makefile.in Bug 1670357 - Remove make targets for cleaning: clean, realclean, clobber, distclean, clobber_all, everything r=firefox-build-system-reviewers,mhentges 2020-10-15 20:37:18 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
NonRefcountedDOMObject.h
nsIScriptError.idl Bug 1654927 - Move js.msg and js::GetErrorMessage into a new js/public/friend directory so users of them don't have to depend on all of jsfriendapi.h. r=mgaudet 2020-07-29 04:44:50 +00:00
nsScriptError.cpp
nsScriptError.h
nsScriptErrorWithStack.cpp
Nullable.h
PinnedStringId.h Bug 1653228 - Move PinnedStringId to a separate header. r=peterv 2020-07-22 15:13:21 +00:00
PrimitiveConversions.h
ReadableStream.h
Record.h
RemoteObjectProxy.cpp Bug 1663365 - Move various Object-related functions to a new js/public/Object.h header. r=jandem 2020-09-08 22:55:38 +00:00
RemoteObjectProxy.h
RootedDictionary.h Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
RootedOwningNonNull.h
RootedRefPtr.h
SimpleGlobalObject.cpp Bug 1663365 - Move various Object-related functions to a new js/public/Object.h header. r=jandem 2020-09-08 22:55:38 +00:00
SimpleGlobalObject.h Bug 1663365 - Move various Object-related functions to a new js/public/Object.h header. r=jandem 2020-09-08 22:55:38 +00:00
SpiderMonkeyInterface.h Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
ToJSValue.cpp Bug 1658946 - Wrap non-wrappercached interfaces more precisely in ToJSValue, r=peterv 2020-09-14 19:30:56 +00:00
ToJSValue.h Bug 1658946 - Wrap non-wrappercached interfaces more precisely in ToJSValue, r=peterv 2020-09-14 19:30:56 +00:00
TypedArray.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-08-02 15:29:15 +00:00
UnionMember.h
WebIDLGlobalNameHash.cpp Bug 1626584 - Make dom/bindings buildable outside of unified-build environment. r=sg 2020-10-16 15:04:52 +00:00
WebIDLGlobalNameHash.h
XrayExpandoClass.h