coala / coala-html

Interactive website generator using results from coala
GNU Affero General Public License v3.0
17 stars 40 forks source link

Increase readability #127

Closed sotanishy closed 7 years ago

sotanishy commented 7 years ago

In coalahtml/tree.py#L40 if not prev_node.child.get(new_node.name, None): is changed to if new_node.name not in prev_node.child:. It's easier to read and it's more correct, as None or False can be key in general.

close #55

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!

prnvdixit commented 7 years ago

Also, please squash your commits into one commit only - A single change should be reflected in single commit only 😃

prnvdixit commented 7 years ago

@sotanishy Also, next time you can omit the directory_name from the Shortlog as that may overshoot the 50 chars limit in some cases 😉... Specifying file name is enough usually 👍

prnvdixit commented 7 years ago

ack 680bde29bd2677615c74e7262a276d0d0fc51912

Makman2 commented 7 years ago

@gitmate-bot rebase

gitmate-bot commented 7 years ago

Hey! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost!

gitmate-bot commented 7 years ago

Automated rebase was successful!

Makman2 commented 7 years ago

@rultor merge

rultor commented 7 years ago

@rultor merge

@makman2 OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 7 years ago

@rultor merge

@makman2 Done! FYI, the full log is here (took me 2min)