]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: add prometheus to flake8 test
authorKefu Chai <kchai@redhat.com>
Wed, 10 Feb 2021 07:49:03 +0000 (15:49 +0800)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 13:00:59 +0000 (08:00 -0500)
commit60e6010fa585f99b63b81ab4c6d1dedfa778db58
tree2f19628e5456e9c22bdbd1878b2c6d19bef44052
parentfeb00569edc5e077a893285fc669d7d7905a8fc9
mgr/prometheus: add prometheus to flake8 test

for the explanation why we should add a line break before a binary
operator. see
https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 5dd9db970994530002df3da6be075974bfef2767)
src/pybind/mgr/prometheus/__init__.py
src/pybind/mgr/prometheus/module.py