Skip to content

plugins/explain.py: Added explanation for "do not ask to ask".#404

Open
yashasingh wants to merge 1 commit into
coala:masterfrom
yashasingh:patch#389
Open

plugins/explain.py: Added explanation for "do not ask to ask".#404
yashasingh wants to merge 1 commit into
coala:masterfrom
yashasingh:patch#389

Conversation

@yashasingh
Copy link
Copy Markdown
Member

This patch adds response in case a user asks abrupt question.

Closes #389

Comment thread plugins/explain.py Outdated
'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (82 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

Comment thread plugins/explain.py Outdated
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (81 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

Comment thread plugins/explain.py Outdated
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
'description may pique their interest and get them to '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (84 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

Comment thread plugins/explain.py Outdated
'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is longer than allowed. (82 > 80)

Origin: LineLengthBear, Section: all.linelength.

Comment thread plugins/explain.py Outdated
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is longer than allowed. (81 > 80)

Origin: LineLengthBear, Section: all.linelength.

Comment thread plugins/explain.py Outdated
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
'description may pique their interest and get them to '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is longer than allowed. (84 > 80)

Origin: LineLengthBear, Section: all.linelength.

Comment thread plugins/explain.py Outdated
'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (82 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

Comment thread plugins/explain.py Outdated
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (81 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

Comment thread plugins/explain.py Outdated
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
'description may pique their interest and get them to '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (84 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

Comment thread plugins/explain.py Outdated
'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is longer than allowed. (82 > 80)

Origin: LineLengthBear, Section: all.linelength.

Comment thread plugins/explain.py Outdated
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is longer than allowed. (81 > 80)

Origin: LineLengthBear, Section: all.linelength.

Comment thread plugins/explain.py Outdated
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
'description may pique their interest and get them to '
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is longer than allowed. (84 > 80)

Origin: LineLengthBear, Section: all.linelength.

@yashasingh
Copy link
Copy Markdown
Member Author

I have made the required changes.

Copy link
Copy Markdown
Member

@andrewda andrewda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple minor wording changes. Also, please be sure to squash your commits into one 😄

Comment thread plugins/explain.py Outdated
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then '
'glances what\'s going on is unlikely to answer '
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"glances at what's going on [...]"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay 👍

Comment thread plugins/explain.py Outdated
'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then '
Copy link
Copy Markdown
Member

@andrewda andrewda Nov 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"and only occasionally glances [...]" sounds a bit more natural here. Otherwise the "and"s begin to sound a little weird.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. I shall do this.

Copy link
Copy Markdown
Member

@prnvdixit prnvdixit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yashasingh There are changes in the commit that are not associated with this issue - Please remove them. 👍

Comment thread plugins/explain.py Outdated
'newcomer Pull Request\n- merge a difficulty/low Pull '
'Request\n- review at least a difficulty/low or higher '
'Pull Request'
'do not ask to ask': 'This is a lazy way of asking your question '
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, rephrase this line to be less "You did something quite wrong" to more "It's Ok, you just need to be careful from now on and ask specific questions". Current language might scare newcomers away 😄.

Comment thread plugins/explain.py Outdated
'do not ask to ask': 'This is a lazy way of asking your question '
'because you\'re asking for more than what '
'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You haven't explained what don't "ask to ask" actually means in a proper way (like describe the specific problem, tell us what you did to solve and didn't worked out, what others might have to do to regenerate the problem) 😉

@Makman2
Copy link
Copy Markdown
Member

Makman2 commented Nov 30, 2017

Why is gitmate not complaining about the commit... it violates our style rules... CC @sils

@Makman2
Copy link
Copy Markdown
Member

Makman2 commented Nov 30, 2017

However, this is my local coala run on this PR ;)

Project wide:
|    | [NORMAL] GitCommitBear:
|    | Shortlog of HEAD commit isn't in imperative mood! Bad words are 'Added'

Project wide:
|    | [NORMAL] GitCommitBear:
|    | Shortlog of the HEAD commit contains 59 character(s). This is 9 character(s) longer than the limit (59 > 50).

@Makman2
Copy link
Copy Markdown
Member

Makman2 commented Nov 30, 2017

unack dbe798a

@yashasingh
Copy link
Copy Markdown
Member Author

@Makman2 Should I change my commit message ? Is there something else also to be done ?

@prnvdixit
Copy link
Copy Markdown
Member

@yashasingh Just go through https://coala.io/commit - You would be fine 😄

This patch adds response in case a user asks abrupt question.

Closes coala#389
Comment thread plugins/explain.py
'you\'re asking for more than what you think '
'you\'re asking. The solution is not to simply '
'question people about them, but just to '
'ask for your piece of information by actaully '
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in "actually"

Comment thread plugins/explain.py
'Pull Request'
'Pull Request',
'do not ask to ask': 'This seems a lazy way of asking your question '
'Don\'t take it personally. It\'s just that '
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use double quotes around the whole string instead of escaping the single quotes. That way you can keep the single quotes in the string more readable. (this comment applies to all of the instances)

Comment thread plugins/explain.py
'do not ask to ask': 'This seems a lazy way of asking your question '
'Don\'t take it personally. It\'s just that '
'you\'re asking for more than what you think '
'you\'re asking. The solution is not to simply '
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the sentance The solution is not to simply [snip]... is too wordy. Please reword it to be more concise.

Comment thread plugins/explain.py
'formalizing it in words. Someone who is idling '
'on the channel and only occasionally glances '
'at what\'s going on is unlikely to answer '
'to your "asking to ask" question, but your '
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete to

@jayvdb
Copy link
Copy Markdown
Member

jayvdb commented Dec 2, 2017

unack 47c1fd0

@prnvdixit
Copy link
Copy Markdown
Member

Also, commit Shortlog should be imperative - "Explain...."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

9 participants