]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/mgr_module: have two lines before class definition
authorKefu Chai <kchai@redhat.com>
Tue, 24 Nov 2020 03:57:51 +0000 (11:57 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 25 Nov 2020 09:41:00 +0000 (17:41 +0800)
commitc26b370b7e9bbe55f44ad5d59163258f0a64e361
treecda3ea5cd365282c5733abbaf4affccf4fc77ad5
parent4f4e94c5beba17a32712463d08fe4458c67f34ca
pybind/mgr/mgr_module: have two lines before class definition

* have two lines before class definition, to silence E302 warning from flake8
* have single line before function definition, to silence E303 warning from flake8
* remove trailing space, to silence W291 warning from flake8

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/mgr_module.py
src/pybind/mgr/mgr_util.py