Open vkomenda opened 5 years ago
Is this issue outdated? It seems as though net_dynamic_hd
has been updated/removed.
It has been replaced/renamed, but it's still spaghetti code.
I'll take a wack at this.
@afck is do_drop_and_re_add
function still invoked when running cargo test
? I didn't get any errors/warnings when removing the clippy_cyclomatic_complexity
flag. Also is there an IRC or slack channel associated with this project?
Edit: I see. I need to install clippy and use ci.sh
file.
Yes, that's a clippy lint. Also, cargo clippy
doesn't check the test code. You need to use cargo clippy --tests
or cargo clippy --all-targets
for that.
The main loop of
net_dynamic_hb
apparently has too many internal loops. Clippy throws an errorcyclomatic_complexity
if not is silenced. The loop has to be split into several functions accessing shared test state.