ceph-ansible/plugins/filter
Aksh Gupta a0bc5afe26 core: refactor code quality issues
The following commit fixes a few code quality issues detected by DeepSource:
- Use literals instead of function calls to create data structure.
- Refactor unnecessary list comprehension.
- Simplify if statement.
- Refactor useless else block in the loop.

Signed-off-by: Aksh Gupta <akshgpt7@gmail.com>
2021-03-25 14:57:02 +01:00
..
__init__.py Replace ipaddr() with ips_in_ranges() 2019-09-27 10:11:53 +02:00
ipaddrs_in_ranges.py core: refactor code quality issues 2021-03-25 14:57:02 +01:00