coala / coala-bears

Bears for coala
https://coala.io/
GNU Affero General Public License v3.0
294 stars 580 forks source link

URLHeadBear.py: Use robots.txt #2891

Open PrajwalM2212 opened 5 years ago

PrajwalM2212 commented 5 years ago

Requests that are not allowed by robots.txt are reported.

Closes https://github.com/coala/coala-bears/issues/1782

For short term contributors: we understand that getting your commits well defined like we require is a hard task and takes some learning. If you look to help without wanting to contribute long term there's no need for you to learn this. Just drop us a message and we'll take care of brushing up your stuff for merge!

Checklist

After you submit your pull request, DO NOT click the 'Update Branch' button. When asked for a rebase, consult coala.io/rebase instead.

Please consider helping us by reviewing other peoples pull requests as well:

The more you review, the more your score will grow at coala.io and we will review your PRs faster!

PrajwalM2212 commented 5 years ago
Screen Shot 2019-03-16 at 9 51 56 AM
PrajwalM2212 commented 5 years ago

Tests have not been added.

I wanted to know if this approach is okay before modifying existing tests.

PrajwalM2212 commented 5 years ago

@frextrite The message has to be shown. The issue asks the situation to be reported. Also I will wait for maintainers to see if this approach is okay as this bear is used by lot of other bears. Thanks for the review 😊