C0103 fixes 3, dht, k_bucket and routing_table

This PR is dependent on #1108.
Yes, please revert the changes in lines 124 and 758. I don't think Pylint will complain about these.