gecko-dev/storage
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
..
build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
rust
test Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
variant
FileSystemModule.cpp
FileSystemModule.h
IStorageBindingParamsInternal.h
SQLCollations.cpp
SQLCollations.h
SQLiteMutex.h
StatementCache.h
StorageBaseStatementInternal.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
StorageBaseStatementInternal.h
TelemetryVFS.cpp Bug 1650201 - Fix mozStorage prefs read before profile and fallback to a non-exclusive VFS when it can't get an exclusive lock. r=asuth,geckoview-reviewers,agi 2020-07-10 21:45:53 +00:00
VacuumManager.cpp Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
VacuumManager.h
Variant.cpp
Variant.h
Variant_inl.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
mozIStorageAsyncConnection.idl
mozIStorageAsyncStatement.idl
mozIStorageBaseStatement.idl
mozIStorageBindingParams.idl
mozIStorageBindingParamsArray.idl
mozIStorageCompletionCallback.idl
mozIStorageConnection.idl
mozIStorageError.idl
mozIStorageFunction.idl
mozIStoragePendingStatement.idl
mozIStorageProgressHandler.idl
mozIStorageResultSet.idl
mozIStorageRow.idl
mozIStorageService.idl Bug 1635489: Add telemetry on the status of sqlite database accesses. r=mak 2020-08-11 20:55:33 +00:00
mozIStorageStatement.idl
mozIStorageStatementCallback.idl
mozIStorageVacuumParticipant.idl
mozIStorageValueArray.idl
mozStorageArgValueArray.cpp
mozStorageArgValueArray.h
mozStorageAsyncStatement.cpp
mozStorageAsyncStatement.h
mozStorageAsyncStatementExecution.cpp Bug 1657965: Remove expired async storage telemetry. r=asuth 2020-09-28 16:47:51 +00:00
mozStorageAsyncStatementExecution.h Bug 1657965: Remove expired async storage telemetry. r=asuth 2020-09-28 16:47:51 +00:00
mozStorageAsyncStatementJSHelper.cpp
mozStorageAsyncStatementJSHelper.h
mozStorageAsyncStatementParams.cpp
mozStorageAsyncStatementParams.h
mozStorageBindingParams.cpp
mozStorageBindingParams.h
mozStorageBindingParamsArray.cpp
mozStorageBindingParamsArray.h
mozStorageConnection.cpp Bug 1635489: Add telemetry on the status of sqlite database accesses. r=mak 2020-08-11 20:55:33 +00:00
mozStorageConnection.h Bug 1635489: Add telemetry on the status of sqlite database accesses. r=mak 2020-08-11 20:55:33 +00:00
mozStorageError.cpp
mozStorageError.h
mozStorageHelper.h Bug 1663924 - Split BorrowedStatement from CachedStatement. r=dom-workers-and-storage-reviewers,janv 2020-09-29 10:57:19 +00:00
mozStoragePrivateHelpers.cpp Bug 1635489: Add telemetry on the status of sqlite database accesses. r=mak 2020-08-11 20:55:33 +00:00
mozStoragePrivateHelpers.h Bug 1635489: Add telemetry on the status of sqlite database accesses. r=mak 2020-08-11 20:55:33 +00:00
mozStorageResultSet.cpp
mozStorageResultSet.h
mozStorageRow.cpp
mozStorageRow.h
mozStorageSQLFunctions.cpp
mozStorageSQLFunctions.h
mozStorageService.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
mozStorageService.h Bug 1650201 - Fix mozStorage prefs read before profile and fallback to a non-exclusive VFS when it can't get an exclusive lock. r=asuth,geckoview-reviewers,agi 2020-07-10 21:45:53 +00:00
mozStorageStatement.cpp Bug 1635489: Add telemetry on the status of sqlite database accesses. r=mak 2020-08-11 20:55:33 +00:00
mozStorageStatement.h Bug 1635489: Add telemetry on the status of sqlite database accesses. r=mak 2020-08-11 20:55:33 +00:00
mozStorageStatementData.h Bug 1635489: Add telemetry on the status of sqlite database accesses. r=mak 2020-08-11 20:55:33 +00:00
mozStorageStatementJSHelper.cpp
mozStorageStatementJSHelper.h
mozStorageStatementParams.cpp
mozStorageStatementParams.h
mozStorageStatementRow.cpp
mozStorageStatementRow.h
storage.h
style.txt
variantToSQLiteT_impl.h