]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix flake8 test failures 58062/head
authorNizamudeen A <nia@redhat.com>
Sun, 16 Jun 2024 09:11:04 +0000 (14:41 +0530)
committerNizamudeen A <nia@redhat.com>
Sun, 16 Jun 2024 09:11:04 +0000 (14:41 +0530)
commita9563d91c2ac405ae9101bd4e63fa9b749d54432
tree7e1416150c78cba67437560865fd9ec0ca2128c4
parent414085c1d72de0fd6669746cf5d1dc2815ee48b1
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>
src/pybind/mgr/cephadm/configchecks.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_cephadm.py