code complexity is > 10

Bug #1817791 reported by Xav Paice
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hw-health-charm
Fix Released
Low
Peter Sabaini

Bug Description

When I run unit tests with:

commands = flake8 {posargs} --max-complexity=10 --max-line-length=120 reactive files unit_tests

We see failures with:

files/cron_mdadm.py:46:1: C901 'parse_output' is too complex (13)
files/megaraid/check_megacli.py:11:1: C901 'parse_output' is too complex (19)

Related branches

Changed in hw-health-charm:
status: New → Confirmed
importance: Undecided → Low
Changed in hw-health-charm:
assignee: nobody → Peter Sabaini (peter-sabaini)
Changed in charm-hw-health:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.