]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix flake8 test failures 58077/head
authorNizamudeen A <nia@redhat.com>
Sun, 16 Jun 2024 09:11:04 +0000 (14:41 +0530)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 16 Jun 2024 19:29:21 +0000 (21:29 +0200)
commitb811d941a9156d3fd4de9173e7fe86d41c06ff87
tree84b66ac1ae51e8d29568f07bdbe26343ed2965ae
parent2fc63671259beedf954ee5d9178112d0ecae7e3a
mgr/cephadm: fix flake8 test failures

after a recent update on flake8, some tests in cephadm started failing
```
flake8: commands[0]> flake8 --config=tox.ini alerts balancer cephadm cli_api crash devicehealth diskprediction_local hello iostat localpool nfs orchestrator prometheus rbd_support rgw selftest smb
cephadm/configchecks.py:94:6: E204 whitespace after decorator '@'
cephadm/module.py:3017:10: E204 whitespace after decorator '@'
cephadm/module.py:3344:144: E226 missing whitespace around arithmetic operator
cephadm/tests/test_cephadm.py:982:6: E204 whitespace after decorator '@'
3     E204 whitespace after decorator '@'
1     E226 missing whitespace around arithmetic operator
```

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit a9563d91c2ac405ae9101bd4e63fa9b749d54432)
src/pybind/mgr/cephadm/configchecks.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_cephadm.py