gecko-dev/dom/smil
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
test
SMILAnimationController.cpp Bug 1666617 - Add an observer description argument to AddRefreshObserver. r=smaug 2020-09-25 02:36:29 +00:00
SMILAnimationController.h Bug 1656117 - Reduce include dependencies on nsRefreshDriver.h. r=mstange 2020-08-04 21:17:50 +00:00
SMILAnimationFunction.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
SMILAnimationFunction.h Bug 1652395 - Replace 'typedef' by 'using' in SVG and SMIL code r=dholbert 2020-07-15 10:37:55 +00:00
SMILAttr.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILBoolType.cpp
SMILBoolType.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILCSSProperty.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
SMILCSSProperty.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILCSSValueType.cpp Bug 1661912 - Convert remaining typedefs in SVG code to 'using' r=emilio 2020-08-29 14:24:37 +00:00
SMILCSSValueType.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILCompositor.cpp
SMILCompositor.h Bug 1652395 - Replace 'typedef' by 'using' in SVG and SMIL code r=dholbert 2020-07-15 10:37:55 +00:00
SMILCompositorTable.h Bug 1652395 - Replace 'typedef' by 'using' in SVG and SMIL code r=dholbert 2020-07-15 10:37:55 +00:00
SMILEnumType.cpp
SMILEnumType.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILFloatType.cpp
SMILFloatType.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILInstanceTime.cpp
SMILInstanceTime.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILIntegerType.cpp
SMILIntegerType.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILInterval.cpp
SMILInterval.h Bug 1652395 - Replace 'typedef' by 'using' in SVG and SMIL code r=dholbert 2020-07-15 10:37:55 +00:00
SMILKeySpline.cpp
SMILKeySpline.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILMilestone.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILNullType.cpp
SMILNullType.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILParserUtils.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
SMILParserUtils.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILRepeatCount.cpp
SMILRepeatCount.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILSetAnimationFunction.cpp
SMILSetAnimationFunction.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILStringType.cpp
SMILStringType.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILTargetIdentifier.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILTimeContainer.cpp Bug 1643289 - Move elements where possible in nsTPriorityQueue instead of copying them. r=froydnj 2020-06-10 10:46:34 +00:00
SMILTimeContainer.h Bug 1652395 - Replace 'typedef' by 'using' in SVG and SMIL code r=dholbert 2020-07-15 10:37:55 +00:00
SMILTimeValue.cpp
SMILTimeValue.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILTimeValueSpec.cpp Bug 1658455 - Remove eANIMATION and eFILTER from IsNodeOfType r=dholbert 2020-08-15 10:38:17 +00:00
SMILTimeValueSpec.h Bug 1652395 - Replace 'typedef' by 'using' in SVG and SMIL code r=dholbert 2020-07-15 10:37:55 +00:00
SMILTimeValueSpecParams.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILTimedElement.cpp Bug 1664747 - Remove some duplicate if ("bugprone-redundant-branch-condition" warning) r=emilio,andi 2020-09-14 10:52:43 +00:00
SMILTimedElement.h Bug 1652395 - Replace 'typedef' by 'using' in SVG and SMIL code r=dholbert 2020-07-15 10:37:55 +00:00
SMILType.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
SMILTypes.h Bug 1652395 - Replace 'typedef' by 'using' in SVG and SMIL code r=dholbert 2020-07-15 10:37:55 +00:00
SMILValue.cpp
SMILValue.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
TimeEvent.cpp
TimeEvent.h Bug 1652253 - Update SVG include guards r=dholbert 2020-07-14 23:40:05 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00