diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-07-11 09:56:47 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-07-18 09:26:24 +0100 |
commit | e2f0ad27b18b1502f59268bda2eeff4a7a21055c (patch) | |
tree | 100b21652cbe7c6cc0c7112124974f0232c6d5db /utils/ipc/tools/diagnosis | |
parent | 37106ba02a699eb485edcc2e5058dcaf25ee92a0 (diff) |
utils: checkstyle.py: Derive Amendment from Commit
The Amendment commit class is derived from the StagedChanges class
(which in turn derives from the Commit base class), however there is no
code sharing between Amendment and StagedChanges other than the call to
initalise through the base Commit class.
Refactor the inheritance to make an Amendment derive directly from
Commit.
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Tested-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/ipc/tools/diagnosis')
0 files changed, 0 insertions, 0 deletions