code complexity is > 10
Bug #1817791 reported by
Xav Paice
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-
We see failures with:
files/cron_
files/megaraid/
Related branches
~peter-sabaini/charm-hw-health:lp1817791-reduce-complexity
Merged
into
~nagios-charmers/charm-hw-health:master
at
revision c2b7b114521651685a96345feff88821f2a22fe4
- Stuart Bishop (community): Approve
- Xav Paice (community): Approve
-
Diff: 126 lines (+44/-36)3 files modifiedsrc/files/mdadm/cron_mdadm.py (+14/-9)
src/files/megacli/check_megacli.py (+29/-26)
src/tox.ini (+1/-1)
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.