diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-12-24 12:34:55 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-12-29 16:45:28 +0200 |
commit | 86efa9c7e9e7f518345adf469b194c1e5d053c0c (patch) | |
tree | fc9b9f7dbfffe1403ba1a65550931f8e95a1336d /package | |
parent | b402734e5ae2b35c0e38381864a9b24c129b03bf (diff) |
utils: checkstyle.py: Factor out automatic class registry
The style checkers and formatters duplicate automatic class registry
code. Factor it out to a common ClassRegistry helper class. The list of
subclasses is moved to a class member variable of the auto-registered
base class type.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions