shepherdjay / ipfromwebpage

Simple script that scrapes a web page for IP addresses and prints aggregate result.
MIT License
2 stars 6 forks source link

Fix "method_complexity" issue in ipfromwebpage/ipfromwebpage.py #19

Closed shepherdjay closed 6 years ago

shepherdjay commented 7 years ago

Function main has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.

https://codeclimate.com/github/shepherdjay/ipfromwebpage/ipfromwebpage/ipfromwebpage.py#issue_59f17df72cb7ac0001000019

shepherdjay commented 6 years ago

Resolved in #42