gecko-dev/toolkit/mozapps/defaultagent
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
..
docs Bug 1636539 - Part 4: Note remote disablement in browser default agent docs. r=agashlin,bytesized 2020-07-21 22:04:53 +00:00
rust Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
DefaultBrowser.cpp Bug 1621703 - Migrate prefixed CurrentDefault registry value name to an unprefixed one r=mhowell,agashlin,nalexander 2020-07-01 18:44:47 +00:00
DefaultBrowser.h Bug 1621703 - Migrate prefixed CurrentDefault registry value name to an unprefixed one r=mhowell,agashlin,nalexander 2020-07-01 18:44:47 +00:00
EventLog.cpp Bug 1636539 - Part 0: Expose default agent's Windows event log name. r=agashlin 2020-07-21 22:17:49 +00:00
EventLog.h Bug 1636539 - Part 0: Expose default agent's Windows event log name. r=agashlin 2020-07-21 22:17:49 +00:00
Makefile.in Bug 1660920 - Rename WDBA's manifest so that it will be used r=nalexander 2020-08-25 23:26:58 +00:00
Notification.cpp Bug 1664510 - Add localization for the WDBA r=flod,nalexander 2020-09-18 20:27:40 +00:00
Notification.h Bug 1621703 - Windows Default Browser Agent Telemetry r=mhowell,agashlin,nalexander,chutten 2020-07-01 18:43:56 +00:00
Policy.cpp Bug 1648528 - Consolidate registry access functionality in the WDBA r=mhowell,agashlin,nalexander 2020-07-01 18:38:38 +00:00
Policy.h
Registry.cpp Bug 1621703 - Migrate prefixed CurrentDefault registry value name to an unprefixed one r=mhowell,agashlin,nalexander 2020-07-01 18:44:47 +00:00
Registry.h Bug 1621703 - Migrate prefixed CurrentDefault registry value name to an unprefixed one r=mhowell,agashlin,nalexander 2020-07-01 18:44:47 +00:00
RemoteSettings.cpp Bug 1636539 - Part 3: Use Rust remote settings client to fetch remote kill switch. r=agashlin,bytesized 2020-07-21 22:04:27 +00:00
RemoteSettings.h Bug 1636539 - Part 3: Use Rust remote settings client to fetch remote kill switch. r=agashlin,bytesized 2020-07-21 22:04:27 +00:00
ScheduledTask.cpp Bug 1633899 - Add task description to WDBA task registration r=mhowell,agashlin 2020-08-14 18:17:16 +00:00
ScheduledTask.h
Telemetry.cpp Bug 1647489 - Ensure WDBA notification data is not lost r=mhowell,agashlin,nalexander 2020-07-01 18:46:30 +00:00
Telemetry.h Bug 1621703 - Windows Default Browser Agent Telemetry r=mhowell,agashlin,nalexander,chutten 2020-07-01 18:43:56 +00:00
common.cpp Bug 1621703 - Only send one ping per day r=mhowell,nalexander,agashlin 2020-07-01 18:45:33 +00:00
common.h Bug 1621703 - Only send one ping per day r=mhowell,nalexander,agashlin 2020-07-01 18:45:33 +00:00
default-browser-agent.exe.manifest Bug 1660920 - Rename WDBA's manifest so that it will be used r=nalexander 2020-08-25 23:26:58 +00:00
defaultagent.ini Bug 1657147 - Shorten WDBA notification button text to prevent overflows r=mhowell 2020-08-25 00:26:19 +00:00
defaultagent_append.ini Bug 1664510 - Add localization for the WDBA r=flod,nalexander 2020-09-18 20:27:40 +00:00
main.cpp Bug 1636539 - Part 3: Use Rust remote settings client to fetch remote kill switch. r=agashlin,bytesized 2020-07-21 22:04:27 +00:00
module.ver
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00