gecko-dev/layout/printing
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 Bug 1671503 - Handle documents from iframes that haven't changed remoteness yet correctly. r=nordzilla 2020-10-16 20:46:00 +00:00
ipc Bug 1662336 - Make PRemotePrintJob refcounted. r=bobowen 2020-10-08 19:19:51 +00:00
DrawEventRecorder.cpp Bug 1662336 - Implement dependent surface support in the print recording code. r=bobowen 2020-10-08 19:19:39 +00:00
DrawEventRecorder.h Bug 1662336 - Implement dependent surface support in the print recording code. r=bobowen 2020-10-08 19:19:39 +00:00
PrintTranslator.cpp Bug 1662336 - Implement dependent surface support in the print recording code. r=bobowen 2020-10-08 19:19:39 +00:00
PrintTranslator.h Bug 1662336 - Implement dependent surface support in the print recording code. r=bobowen 2020-10-08 19:19:39 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsIPrintProgress.idl
nsIPrintProgressParams.idl
nsPagePrintTimer.cpp Bug 1669774 part 2: Rename some APIs and variables for accuracy (s/page/sheet/) in nsPrintJob, nsPagePrintTimer, and nsDocumentViewer. r=TYLin 2020-10-07 21:00:26 +00:00
nsPagePrintTimer.h Bug 1669774 part 2: Rename some APIs and variables for accuracy (s/page/sheet/) in nsPrintJob, nsPagePrintTimer, and nsDocumentViewer. r=TYLin 2020-10-07 21:00:26 +00:00
nsPrintData.cpp Bug 1661868 part 2: Unify page-range handling logic, to assume all PrintedSheetFrames should be printed (and let them manage page-range-based skipping during layout). r=TYLin 2020-10-07 20:51:56 +00:00
nsPrintData.h Bug 1661868 part 2: Unify page-range handling logic, to assume all PrintedSheetFrames should be printed (and let them manage page-range-based skipping during layout). r=TYLin 2020-10-07 20:51:56 +00:00
nsPrintJob.cpp Bug 1672864 - Don't resume printing too early. r=jfkthame 2020-10-23 18:34:05 +00:00
nsPrintJob.h Bug 1672864 - Don't resume printing too early. r=jfkthame 2020-10-23 18:34:05 +00:00
nsPrintObject.cpp Bug 1636728 - Centralize printing entry points in nsGlobalWindowOuter, and move cloning out of nsPrintJob. r=jwatt,geckoview-reviewers,smaug,agi 2020-08-25 17:45:12 +00:00
nsPrintObject.h Bug 1658894 - Move selection range caching to Document::CreateStaticClone(). r=jwatt 2020-08-13 11:11:35 +00:00