job / aggregate6

IPv4 and IPv6 prefix aggregation tool
BSD 2-Clause "Simplified" License
145 stars 19 forks source link

Fix multiple issues spotted by flake8 #17

Closed robert-scheck closed 1 year ago

robert-scheck commented 1 year ago

For the remaining spotted issues, I'm not sure whether they should be fixed (or how), or if they maybe should be ignored (I don't treat myself as a Python programmer):

./aggregate6/aggregate6.py:33:1: E722 do not use bare 'except'
./aggregate6/aggregate6.py:44:15: E741 ambiguous variable name 'l'
./aggregate6/aggregate6.py:58:9: F841 local variable 'err' is assigned to but never used
./aggregate6/aggregate6.py:64:1: C901 'aggregate_tree' is too complex (11)
./aggregate6/aggregate6.py:144:1: C901 'main' is too complex (18)
./aggregate6/aggregate6.py:165:13: F841 local variable 'err' is assigned to but never used
./aggregate6/__init__.py:9:1: F401 '.aggregate6.aggregate' imported but unused