flake8
passed.
JSHint
passed.
Review Request #12991 — Created April 27, 2023 and submitted
This adds missing type hints to
djblets.features
, and in the process
updates some of the code to add missing docstrings and to fix types in
some docstrings.
FeatureLevel
is now an enum, which should be backwards-compatible
with the originalint
in how this is used. That gives better type
checking than using anint
.
FeatureRegistry
has been updated to be a typed registry.
Unit tests pass.
Tested with some code defining a new feature.
Summary | ID |
---|---|
2fda6a10798ac38c88dc883bd9ad471830158729 |