[WIP] Add `scmtools/service.py` with functions to register and unregister SCM tools
Review Request #9542 — Created Jan. 26, 2018 and discarded
In order to refactor SCM tool registration, the first step is to add functions for managing registration and un-registration of SCMTool classes.
Current work in progress is to add a
service.pyfile in thescmtoolsdirectory. This file follows the same format as the one for hosting services.
TODOnotes and comments have been made throughout the file.
No testing has been done.
| Description | From | Last Updated |
|---|---|---|
|
F821 undefined name 'EntryPointRegistry' |
|
|
|
E302 expected 2 blank lines, found 1 |
|
|
|
F821 undefined name 'ALREADY_REGISTERED' |
|
|
|
F821 undefined name '_' |
|
|
|
F821 undefined name 'LOAD_ENTRY_POINT' |
|
|
|
F821 undefined name '_' |
|
|
|
F821 undefined name 'NOT_REGISTERED' |
|
|
|
F821 undefined name '_' |
|
|
|
F841 local variable 'cls_urlpatterns' is assigned to but never used |
|
|
|
E303 too many blank lines (2) |
|
|
|
F821 undefined name 'SCMTool' |
|
|
|
F821 undefined name 'service' |
|
|
|
E305 expected 2 blank lines after class or function definition, found 1 |
|
|
|
E302 expected 2 blank lines, found 1 |
|
|
|
F821 undefined name 'ItemLookupError' |
|
|
|
E302 expected 2 blank lines, found 1 |
|
|
|
E302 expected 2 blank lines, found 1 |
|
|
|
F821 undefined name 'ItemLookupError' |
|
|
|
F821 undefined name 'logging' |
|
|
|
E302 expected 2 blank lines, found 1 |
|
|
|
F821 undefined name 'receiver' |
|
|
|
F821 undefined name 'initializing' |
|