]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix flake8 test failures 58075/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:24:01 +0000 (21:24 +0200)
commitce5cd7fecf752934cfd967e173f57a6c8c381e74
tree953d6bbe41558e0ffefcf740a260c24cb614a641
parente86811589ab8d5cf70ec9d493ee8d576aac2985a
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