gecko-dev/image/decoders
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
..
icon Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
EXIF.cpp
EXIF.h
GIF2.h
iccjpeg.c
iccjpeg.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsAVIFDecoder.cpp Bug 1669033 - dav1d all_layers setting should be set to 0. r=aosmond 2020-10-08 00:56:38 +00:00
nsAVIFDecoder.h Bug 1639409 - AVIF (AV1 Image File Format): decode with dav1d. r=aosmond 2020-05-22 19:00:17 +00:00
nsBMPDecoder.cpp Backed out changeset 40784ea31188 (bug 651482) for Reftest failures in bmp-corrupted/wrapper.html?invalid-compression-BITFIELDS.bmp. CLOSED TREE 2020-05-22 12:21:32 +03:00
nsBMPDecoder.h
nsGIFDecoder2.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsGIFDecoder2.h
nsICODecoder.cpp Bug 1622661 - Removed 'else' after 'return'. r=tnikkel 2020-03-31 19:27:35 +00:00
nsICODecoder.h
nsIconDecoder.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsIconDecoder.h
nsJPEGDecoder.cpp Bug 1645042 - Revert bug 1631615 and color manage untagged images. r=tnikkel 2020-06-11 21:46:45 +00:00
nsJPEGDecoder.h Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsPNGDecoder.cpp Bug 1645042 - Revert bug 1631615 and color manage untagged images. r=tnikkel 2020-06-11 21:46:45 +00:00
nsPNGDecoder.h Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsWebPDecoder.cpp Bug 1645042 - Revert bug 1631615 and color manage untagged images. r=tnikkel 2020-06-11 21:46:45 +00:00
nsWebPDecoder.h