Fix MAC address parsing and serialization#55
Conversation
In the documentation of the check is stated that by default the complexity of macros also counts. Maybe disable macros and try again? If this doesn't help, I would disable this check with a block |
|
Thanks for the hint! I updated |
Sohn123
left a comment
There was a problem hiding this comment.
Nice that you added some tests to the parsing :) I think disabling the macros for this check is a fair call since macros are not a problem for human complexity in my opinion. So I would say let's fix this bug and ![]()
Solves #46
MacAddress::numberMacAddress::numbersubstrin constructorI blacklisted the rule
readability-function-cognitive-complexityglobally since it flagged the test case without a reason, but I don't know whether that is the right call.