Fix "method_complexity" issue in brewlog/brew/views.py
zgoda opened this issue · comments
Jarek Zgoda commented
Function brew
has a Cognitive Complexity of 11 (exceeds 8 allowed). Consider refactoring.
https://codeclimate.com/github/zgoda/brewlog/brewlog/brew/views.py#issue_5c747a181b0e0b000100005d