[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.py
file in thescmtools
directory. This file follows the same format as the one for hosting services.
TODO
notes and comments have been made throughout the file.
No testing has been done.
Description | From | Last Updated |
---|---|---|
F821 undefined name 'EntryPointRegistry' |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
F821 undefined name 'ALREADY_REGISTERED' |
reviewbot | |
F821 undefined name '_' |
reviewbot | |
F821 undefined name 'LOAD_ENTRY_POINT' |
reviewbot | |
F821 undefined name '_' |
reviewbot | |
F821 undefined name 'NOT_REGISTERED' |
reviewbot | |
F821 undefined name '_' |
reviewbot | |
F841 local variable 'cls_urlpatterns' is assigned to but never used |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
F821 undefined name 'SCMTool' |
reviewbot | |
F821 undefined name 'service' |
reviewbot | |
E305 expected 2 blank lines after class or function definition, found 1 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
F821 undefined name 'ItemLookupError' |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
F821 undefined name 'ItemLookupError' |
reviewbot | |
F821 undefined name 'logging' |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
F821 undefined name 'receiver' |
reviewbot | |
F821 undefined name 'initializing' |
reviewbot |